forked from dop251/goja
-
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.
String.prototype.matchAll implementation (dop251#248)
* Basic String.prototype.matchAll and friends implementation * add one more test * add one more test 2 * fix bugs * fix RegExpStringIteratorPrototype ancestry * Fix test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-not-callable.js * Apply suggestions from code review Co-authored-by: Dmitry Panov <[email protected]> * Rename classRegExpStringIteratorPrototype to classRegExpStringIterator * Return *regexpObject instead of *Object for *newRegExp* methods * Update builtin_string.go Co-authored-by: Dmitry Panov <[email protected]> * better way to check the original regex doesn't change * Remove a check from the go code that we do in the JS one * fixup! Remove a check from the go code that we do in the JS one Co-authored-by: Dmitry Panov <[email protected]>
- Loading branch information
Showing
9 changed files
with
402 additions
and
23 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
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
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
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
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
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
Oops, something went wrong.