Skip to content

0.11.0

Choose a tag to compare

@robinst robinst released this 22 Dec 12:37
· 848 commits to main since this release

Added

  • Support for conditionals: using a regex like
    (?<test>a)?b(?(test)c|d) will try to match c after b if a matched in the capture group named
    test, otherwise d after b if a wasn't captured into the test group.

Changed

  • Updated parse errors to show the position they occurred at.

Fixed

  • Fix panic when backref is used within referenced group itself and
    group end index is not known yet (#103)