Skip to content

v0.6.0

Compare
Choose a tag to compare
@slevithan slevithan released this 22 Nov 15:44
· 28 commits to main since this release
  • Added support for flags D (Digit is ASCII) and S (Space is ASCII) at top-level.
  • Added option rules.asciiWordBoundaries.
  • Replaced option accuracy: 'loose' with rules.allowUnhandledGAnchors.
  • Replaced option tmGrammar with rules.allowOrphanBackrefs.
  • Fix: \w, \d, \s, and their inversions are Unicode-based by default. (#4)
  • Fix: Unicode combining marks qualify as \b word boundaries by default.
  • Fix: In edge cases, using nested character classes that combined union and intersection led to invalid patterns.
  • Fix: In edge cases, some characters were not escaped appropriately in nested character classes.