Releases: VerbalExpressions/JavaVerbalExpressions
Releases · VerbalExpressions/JavaVerbalExpressions
1.8: Fixing the handling of (unmatched) optional capture groups (#75)
1.7
v1.6
v1.5
v1.4
v1.3
Improvements
- #42 - new method
List<String> getTextGroups(String toTest, int group)
(resolves #28) - #39 - Ensure removeModifier method turns off the flags
- #34 -
maybe()
method now accepts a builder as parameter - #29 - don't create additional capture when use OR
Breaking changes
- #33 - rename
anythingButNot
toanythingBut
(remove double negation that may confuse users)
1.2
New features
- #27 - lot of changes:
- method to add another regex builder to current regex - use
add(Builder)
for it. - unnamed group method and shortcuts for capture* methods
capt()
,group()
and so on... oneOrMore()
,zeroOrMore()
andatLeast(int)
methods
- method to add another regex builder to current regex - use
Breaking changes:
- non backward compatibility - make Builder constructor package-private.
Useregex()
factory method instead - non backward compatibility - change
multiply(String, Integer...)
method same as in original JS implementation
Improvements
- In tests:
- replace
assertTrue
andassertFalse
withassertThat
with matchers - one more complex example (you can read on wiki page about it)
- replace
1.1
New features
-
#23 - capture, count methods
-
#25 - predefined character class methods
\d A digit: [0-9] \D A non-digit: [^0-9] \s A whitespace character: [ \t\n\x0B\f\r] \S A non-whitespace character: [^\s] \w A word character: [a-zA-Z_0-9] \W A non-word character: [^\w]
Improvements
- #24 - javadoc and lot of tests