Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #471 #472

Merged
merged 1 commit into from
Jan 8, 2019
Merged

Fix #471 #472

merged 1 commit into from
Jan 8, 2019

Conversation

nicolo-ribaudo
Copy link
Contributor

@nicolo-ribaudo nicolo-ribaudo commented Jan 7, 2019

Fix #471

I will backport this PR tomorrow

@@ -112,12 +112,12 @@ require('../internals/fix-regexp-well-known-symbol-logic')(
break;
default: // \d\d?
var n = +ch;
if (n === 0) return ch;
if (n === 0) return match;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the replacement is, for example foo $12 bar, ch is 12 while match is $12.

@zloirock zloirock merged commit 2624fd6 into zloirock:master Jan 8, 2019
@nicolo-ribaudo nicolo-ribaudo deleted the issue-471 branch January 8, 2019 06:47
nicolo-ribaudo added a commit to nicolo-ribaudo/core-js that referenced this pull request Jan 8, 2019
zloirock added a commit that referenced this pull request Jan 9, 2019
@zloirock
Copy link
Owner

@nicolo-ribaudo IE:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants