Skip to content

1.2

Compare
Choose a tag to compare
@lanwen lanwen released this 03 Jun 21:11
· 86 commits to master since this release

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)