Skip to content

Releases: VerbalExpressions/JavaVerbalExpressions

1.8: Fixing the handling of (unmatched) optional capture groups (#75)

19 Mar 13:55
a669493
Compare
Choose a tag to compare
  • Fixing the handling of (unmatched) optional capture groups (#75) by @simschla

    this change is breaking, as wouldn't return "null" as a string anymore - see tests of the PR for the details.

1.7

03 Aug 11:02
Compare
Choose a tag to compare
1.7
  • #71 Word boundary. Fixes (#68)

v1.6

11 Oct 09:11
Compare
Choose a tag to compare
  • #70 - Named capture group

v1.5

06 Dec 20:05
Compare
Choose a tag to compare
  • #65 - OSGi Compatibility

v1.4

11 Jan 19:51
Compare
Choose a tag to compare

Bug fix, but BREAKING CHANGE

  • #49 - now lineBreak() doesn't add additional capture group

v1.3

07 Jan 08:41
Compare
Choose a tag to compare

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 to anythingBut (remove double negation that may confuse users)

1.2

03 Jun 21:11
Compare
Choose a tag to compare
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() and atLeast(int) methods

Breaking changes:

  • non backward compatibility - make Builder constructor package-private.
    Use regex() factory method instead
  • non backward compatibility - change multiply(String, Integer...) method same as in original JS implementation

Improvements

  • In tests:
    • replace assertTrue and assertFalse with assertThat with matchers
    • one more complex example (you can read on wiki page about it)

1.1

17 May 22:26
Compare
Choose a tag to compare
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

1.0

06 May 23:29
Compare
Choose a tag to compare
1.0

First release!