All Versions
8
Latest Version
1.7
Avg Release Cycle
274 days
Latest Release
377 days ago

Changelog History

  • v1.7

    August 03, 2019
    • 🛠 #71 Word boundary. Fixes (#68)
  • v1.6

    October 11, 2018
    • #70 - Named capture group
  • v1.5

    December 06, 2017
    • #65 - OSGi Compatibility
  • v1.4

    January 11, 2016

    🐛 Bug fix, but BREAKING CHANGE

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

    January 07, 2016

    👌 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)
  • v1.2

    June 03, 2014

    🆕 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)
  • v1.1

    May 17, 2014

    🆕 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
  • v1.0

    May 06, 2014

    🚀 First release!