Releases: tony19/named-regexp
Releases · tony19/named-regexp
named-regexp-1.0.0
What's Changed
BREAKING CHANGE: Current users of Matcher#namedGroups()
must rename their references to namedGroupsList()
- feat!: rename MatchResult#namedGroups to avoid conflict in JDK 20 by @tony19 in #74
- chore: update dependencies
Full Changelog: named-regexp-0.2.8...named-regexp-1.0.0
named-regexp-0.2.8
What's Changed
Full Changelog: named-regexp-0.2.7...named-regexp-0.2.8
named-regexp-0.2.7
What's Changed
- Fix infinite loop in namedGroups() when matches empty string #16 by @tony19 in #17
- Bump junit from 4.12 to 4.13.1 by @dependabot in #15
- feat: add matcher quote replacement by @tony19 in #20
Full Changelog: named-regexp-0.2.6...named-regexp-0.2.7
named-regexp-0.2.6
- Fixed infinite loop in
Matcher#namedGroups()
when no groups in pattern (#9) - Deprecated
Matcher(Pattern p, MatchResult m)
in favor ofMatcher(Pattern p, Matcher m)
named-regexp-0.2.5
- Fixed
Matcher#namedGroups()
to return all matching subsequences #7
named-regexp-0.2.4
- Fixed serialization issues
named-regexp-0.2.3
- Fixed invalid group value when pattern included
\Q
-escaped brackets or parentheses (i.e.,\Q (abc [ \E(?<named>)x \Q ] ) \E
)
named-regexp-0.2.2
- Fixed invalid group value when pattern included parentheses in character classes (i.e.,
[()a-f]+(?<named>x)
)
named-regexp-0.2.1
- Removed deprecated classes (
NamedPattern
,NamedMatcher
,NamedMatchResult
). UsePattern
,Matcher
, andMatchResult
instead.
named-regexp-0.1.10
- Removed character restriction in group names so that they can now contain most free-form text (including Unicode characters or whitespace). However, the name must not begin with ! (exclamation point) or = (equal symbol) since those characters would create a look-around construct.