mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibJS: Implement most of String.prototype.replaceAll
This also renames ErrorType::StringMatchAllNonGlobalRegExp to ErrorType::StringNonGlobalRegExp (removes "MatchAll") because this error is now used in the same way from multiple operations.
This commit is contained in:
parent
cb20baebae
commit
9f0aef6051
5 changed files with 190 additions and 2 deletions
|
@ -94,6 +94,7 @@
|
|||
__JS_ENUMERATE(match, match) \
|
||||
__JS_ENUMERATE(matchAll, match_all) \
|
||||
__JS_ENUMERATE(replace, replace) \
|
||||
__JS_ENUMERATE(replaceAll, replace_all) \
|
||||
__JS_ENUMERATE(search, search) \
|
||||
__JS_ENUMERATE(split, split) \
|
||||
__JS_ENUMERATE(hasInstance, has_instance) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue