forked from tc39/ecma262
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normative: Disregard lastIndex for non-global non-sticky regexps (tc3…
…9#627) With these changes , non-global non-sticky regexps with nonwritable lastIndex property should just work: * In RegExpBuiltinExec, remove any access to the lastIndex property for non-global, non-sticky regexp. * In RegExp.prototype.@@search, avoid to to set the lastIndex property when not necessary.
- Loading branch information
1 parent
2e6a254
commit 395fede
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters