Closed rbuckton closed 5 years ago
You can view a rendered version of the documentation changes here: https://tc39.es/proposal-regexp-match-offsets/pr/18/#sec-regexp.prototype-@@replace
This currently has the downside of calling CoerceMatchResult
twice on Get(result, "0")
(12.c.iii.2 and 15.d), though we were previously calling ToString
twice as well.
I am going to merge this. If reviewers have any further input please feel free to file in the individual or meta review issues.
I'm fine with these changes.
Adds spec text to describe the behavior of
RegEexp.prototype[@@replace]
with match options.