Skip to content

Releases: slevithan/regex-recursion

v6.0.2

01 Feb 00:56

Choose a tag to compare

  • Fixed a capture transfer edge case.

v6.0.1

31 Jan 17:35

Choose a tag to compare

  • Updated capture transfer to record all expanded captures that can transfer, not just the last.
  • Fixed capture transfer edge cases.

v6.0.0

29 Jan 20:03

Choose a tag to compare

  • Switched to the Regex+ 6.0.0 plugin API.
  • Switched to the Oniguruma-To-ES 3.0.0 capture transfer API.
  • Added modes 'plugin' (default) and 'external' that can be provided if calling recursion directly.

v5.1.1

26 Dec 23:45

Choose a tag to compare

  • Edge case fix for capturing groups with transfer markers.

v5.1.0

26 Dec 21:34

Choose a tag to compare

  • Support recursion of Regex+ emulation groups (with hidden and transfer markers) and subpatterns that contain them.

v5.0.0

19 Dec 05:06

Choose a tag to compare

  • Don't include duplicated captures in result arrays when using the subclass option.

v4.3.0

27 Nov 12:32

Choose a tag to compare

  • Allow numbered backreferences if recursed subpatterns don't contain captures.

v4.2.1

13 Nov 00:00

Choose a tag to compare

  • Fix for recursion by number.

v4.2.0

12 Nov 18:52

Choose a tag to compare

  • Added support for multiple, non-overlapping recursions in the same pattern.

v4.1.0

04 Nov 19:33

Choose a tag to compare

  • Added support for subpattern recursion by group number.
  • Added d.ts type file.
  • Added sourcemap for browser bundle.
  • Slightly faster to determine that a pattern doesn't contain recursion.
  • Fix: Throws for certain invalid recursion depth values.
  • Fix: For some invalid cases with duplicate recursion, was generating invalid regex syntax.