mysticatea / regexpp

The regular expression parser for ECMAScript.
MIT License
153 stars 15 forks source link

Supports ES2022 RegExp Match Indices #22

Closed ota-meshi closed 3 years ago

ota-meshi commented 3 years ago

This PR adds support for the ES2022 d flag.

References

Proposal: https://github.com/tc39/proposal-regexp-match-indices Stage update: https://github.com/tc39/proposals/commit/f0adbe134df9bb73d002af4d23ebc710d0d56972 Ecma262 update: tc39/ecma262#1713 MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/hasIndices

mysticatea commented 3 years ago

Thank you for your contribution!

LGTM.