xregexp
xregexp copied to clipboard
Extended JavaScript regular expressions
XRegExp 3.0.0 introduced support for ES6's `\u{...}` syntax in all browsers, but requires native flag `u` if this syntax is used for astral code points--i.e. above `\u{FFFF}`. However, it would...
As mentioned in https://github.com/slevithan/xregexp/pull/154#issuecomment-280164443 regexps that have both the `global` and `sticky` flag ignore the former and do sticky matches. So there's nothing special to add to their handling AFAICT.
Make it that bit more secure.
I am looking at using XRegExp in a long-running server, where user-supplied regex statements are compiled and used to match values. Internally, XRegExp uses a cache mechanism to avoid recompiling...