Description[regexp] Named capture support for callable replacements
This implements support for named captures in
RegExp.prototype[@@replace] for when the replaceValue is callable.
In that case, the result.groups object is passed to the replacer
function as the last argument.
BUG=v8:5437
Review-Url: https://codereview.chromium.org/2764343004
Cr-Commit-Position: refs/heads/master@{#44142}
Committed: https://chromium.googlesource.com/v8/v8/+/80879b8c26818913f03cb5ec413e764fc39b498e
Patch Set 1 #
Total comments: 5
Patch Set 2 : Rebase, address comments, update for spec changes #Patch Set 3 : Final tweaks #
Dependent Patchsets: Messages
Total messages: 19 (14 generated)
|