ECMAScript proposal: RegExp match indices

added by JavaScript Kicks
12/23/2019 7:59:41 AM

183 Views

The ECMAScript proposal "RegExp match indices" (by Ron Buckton) adds more information to regular expression match objects (as returned by RegExp.prototype.exec() and other methods): They now record for each captured group where it starts and where it ends. Read on for more information.


0 comments