regjsparser icon indicating copy to clipboard operation
regjsparser copied to clipboard

Add support for the `/y` flag (`RegExp.prototype.sticky`)

Open mathiasbynens opened this issue 11 years ago • 1 comments

https://people.mozilla.org/~jorendorff/es6-draft.html#sec-get-regexp.prototype.sticky

This doesn’t affect parsing, so it seems fairly easy to do.

mathiasbynens avatar Nov 13 '13 08:11 mathiasbynens

Since regjsparser doesn't actually handle the flags itself and y doesn't alter parsing, I don't think there's anything to do here.

adrianheine avatar Jan 16 '18 11:01 adrianheine