Node: Implement RegExp Named Capture Groups

Created on 2 Apr 2018  路  3Comments  路  Source: nodejs/node

This is a feature request. The RegExp Named Capture Groups has been a Stage 4 proposal. Please consider implementing it.

V8 Engine question

Most helpful comment

This is currently implemented behind the --harmony-regexp-named-captures command line flag in Node.js 9.10.1 (and earlier probably, but I didn't check).

All 3 comments

Fwiw: This is implemented in the JS engine in V8 6.4, which will be released as part of Node 10 next month. I don鈥檛 think there鈥檚 much more that we can do about it?

Yep, there's nothing we do in core for this.

This is currently implemented behind the --harmony-regexp-named-captures command line flag in Node.js 9.10.1 (and earlier probably, but I didn't check).

Was this page helpful?
0 / 5 - 0 ratings