This feature allows RegExp subclasses to override RegExp.prototype.exec and flags to change the semantics of higher-level functionality, such as String.prototype.replace. Previous JavaScript versions always used the original value of exec from replace. This feature makes it easier to implement new RegExp subclasses by changing a single core piece, without duplicating the higher level integration logic.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 51
- Chrome for Android release 51
- Android WebView release 51
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- In development
- In development
- In development
- No signals
Owners
Last updated on 2020-11-09