Releases: slevithan/xregexp
Releases · slevithan/xregexp
v4.2.3
Hotfix for Babel removing core-js from the runtime package.
v4.2.0
Upgrades the Unicode addons to Unicode 11.0.0.
v4.1.1
Hotfix for npm package missing the tools/output
directory. No code changes.
v4.1.0
New Features
- Added installable
namespacing
option (off by default) that moves named capture results to a groups
object. This makes it easier to loop over named captures after executing a regex, and aligns with native named capture handling in ES2018. See #175.
- Added the
Cased_Letter
(LC
) category to the Unicode Categories addon. See #220.
Improvements
- Upgraded Unicode data from version 9.0.0 to 10.0.0. See #221.
- The generated source for regexes is now a bit easier to read, with fewer
(?:)
separating tokens. See #196.
v4.0.0
Breaking Changes
- XRegExp is now published as ES5, rather than ES3. See #108.
XRegExp.install('natives')
was removed. See #207.
New Features
XRegExp.tag
was added to the build
plugin for tagged template string construction. See #180.
$<n>
and $<name>
can be used as alternative backreference syntax in replacement text. See #181.