Jun 10, 2018
Release 4.2.0

@slevithan slevithan released this Feb 22, 2018 · 11 commits to master since this release

Assets 2

Hotfix for npm package missing the tools/output directory. No code changes.

@slevithan slevithan released this Feb 21, 2018 · 14 commits to master since this release

Assets 2

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.

@josephfrazier josephfrazier released this Jan 11, 2018 · 38 commits to master since this release

Assets 2

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.