Steven Levithan
Steven Levithan
[XRegExp](https://git.io/xregexp) augments JavaScript regex syntax with additional features like named capture, the `x` flag for free spacing and line comments, and `\p{..}` for Unicode properties. It would be awesome if...
This pseudo-AST structure described in #179 could also be the foundation of a useful advanced feature from PCRE, Perl, etc.: The ability to reference the entire *contents* of a named...
Update the XRegExp constructor (more specifically the `runTokens` function) to pass preceding tokens to token handler functions. Alternatively they could be made available on the token handler context (like the...
In XRegExp v4.0.0, ES3 support was removed (see #108) and `XRegExp.install('natives')` was removed (#207). Some follow ups that should be done as a result: * Consider deleting the "fixed" versions...
Current behavior: `XRegExp.build`'s `{{name}}` syntax is a literal string when used within character classes. E.g., although `XRegExp.build('{{x}}', {x: '.'});` produces `/(?:.)/`, `XRegExp.build('[{{x}}]', {x: '.'});` returns `/[{{x}}]/`. Originally, this was intentional,...
In the Unicode data generators (under `tools/`) and Unicode addons, rename `isBmpLast` as the more descriptive `hasOrphanHighSurrogatesAndAstral`. It's only used for category `C` and property `Any`, so the long name...
Following ES6, make the token that blocks invalid metasequences ([here](https://github.com/slevithan/xregexp/blob/5b974aa810b7c74c92e74b25080624dbcb3cbbe0/src/xregexp.js#L1724-L1742)) even stricter by also making it an error to escape punctuation, etc. in cases where the escaped character is not...
- Allow an `options` object as the first optional argument for `XRegExp.exec`/`test`/`replace`/`match`/`forEach`, and allow an `options` object for each `XRegExp.replaceEach` replacement array. - This will replace or overload/supersede the following...
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...
I love having the option to switch between JavaScript, Ruby, and .NET dialects. What about adding an XRegExp mode as well? https://git.io/xregexp XRegExp augments JavaScript regex syntax with additional features...