regex v1.6.0 Release Notes

Release Date: 2022-07-05 // 5 months ago
  • ๐Ÿš€ This release principally includes an upgrade to Unicode 14.

    ๐Ÿ†• New features:

    • FEATURE #832: Clarify that Captures::len includes all groups, not just matching groups.
    • FEATURE #857: Add an ExactSizeIterator impl for SubCaptureMatches.
    • FEATURE #861: Improve RegexSet documentation examples.
    • FEATURE #877: Upgrade to Unicode 14.

    ๐Ÿ› Bug fixes:

    • BUG #792: Fix error message rendering bug.

Previous changes from v1.5.6

  • ๐Ÿš€ This release includes a few bug fixes, including a bug that produced incorrect matches when a non-greedy ? operator was used.

    • BUG #680: Fixes a bug where [[:alnum:][:^ascii:]] dropped [:alnum:] from the class.
    • BUG #859: Fixes a bug where Hir::is_match_empty returned false for \b.
    • BUG #862: Fixes a bug where 'ab??' matches 'ab' instead of 'a' in 'ab'.