Skip to content

v0.9.0

Compare
Choose a tag to compare
@slevithan slevithan released this 27 Dec 02:39
· 54 commits to main since this release

🚨 Breaking

  • Option allowUnhandledGAnchors renamed as ignoreUnsupportedGAnchors.

🚀 Features

  • Externalized dependencies for the ESM bundle. (#12, @bluwy)
  • No longer restricting Unicode properties based on target. (#10)

🐞 Fixes

  • Switched to preserving duplicate group names on the first instance (rather than the last per mutually exclusive alternation path), to match Oniguruma's match results in cases affected by subroutines and duplicate group names.
  • When option avoidSubclass is not enabled:
    • Hide subpattern details from match results for captures created by emulated subroutines.
    • Transfer subroutine (and descendent) capture details on match results to the indexes of groups they reference (if preceding) to match Oniguruma's subpattern match results/ordering.