Skip to content

Release v0.4.0

Latest

Choose a tag to compare

@psoholt psoholt released this 24 Nov 08:27
45a1545

API parity with the Java and JavaScript implementations, bug fixes, CI and a new README.

Added

  • Quantifiers: OneOrMore, ZeroOrMore, AtLeast, Count, Multiple(value, min[, max])
  • Grouping: OneOf, BeginGroup/EndGroup (non-capturing), Add(VerbalExpressions)
  • Character classes: WordChar, NonWordChar, NonDigit, Whitespace, NonWhitespace
  • JS/Java name aliases: Not, SearchOneLine, Space, NonSpace
  • Matching: TestExact, Replace(input, replacement)
  • XML documentation for IntelliSense

Fixed (behaviour changes)

  • Tab() now matches a real tab character (it matched the literal text \t)
  • SomethingBut() no longer throws on { or }
  • CommonRegex.Url no longer contains invisible characters
  • AnyOf(), AnythingBut() and SomethingBut() now escape ]
  • TestExact() no longer throws on a trailing # comment in IgnorePatternWhitespace mode

Changed

  • Test project and CI moved to .NET 10 LTS. The library still targets netstandard2.0.

What's Changed

  • API parity with Java/JS, bug fixes, CI, .NET 10 and new README (v0.4.0) by @psoholt in #65

Full Changelog: v0.3.0...v0.4.0