Skip to content

Releases: slevithan/xregexp

v4.2.3

07 Jan 15:10
Compare
Choose a tag to compare

Hotfix for Babel removing core-js from the runtime package.

v4.2.0

07 Jan 15:09
Compare
Choose a tag to compare

Upgrades the Unicode addons to Unicode 11.0.0.

v4.1.1

22 Feb 22:52
Compare
Choose a tag to compare

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

v4.1.0

21 Feb 01:14
Compare
Choose a tag to compare

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

11 Jan 02:14
Compare
Choose a tag to compare

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.