Steven Levithan

Results 118 comments of Steven Levithan

Hi! XRegExp v5 has a breaking change described at https://github.com/slevithan/xregexp#named-capture-breaking-change-in-xregexp-5 Specifically, named backreference properties now appear on the result's `groups` object (following ES2018), rather than directly on the result. To...

Yeah, it could be really useful sometimes and it’s something I’ve thought about before as well. Thanks for bringing it up here. I prefer for XRegExp to have complete solutions...

I would love to add this feature. But I don't expect to have time for adding major features to this project in the short term.

I would love for XRegExp to have this feature but it would be very complex to comprehensively deal with all the edge cases of regex syntax, unless you have access...

@josephfrazier Do you expect to include this PR or #282 in v5.0.0? There's nothing currently holding back that release, but it might be nice to include build changes at the...

In case it's helpful, describes the rules for `lastIndex` with `/y` in detail.

Unfortunately, emulating Unicode word boundaries would require native lookbehind support, which is only just being added to the JS spec in EcmaScript 2018. When support spreads to all modern browsers,...