Skip to content

Releases: CodesAway/RegExPlus

v2.0.0

05 Dec 15:55
1302660
Compare
Choose a tag to compare

Major version increase due to Java 9 changes that prevent RegExPlus from making Matcher cloneable.

Version 2.0.0 can be used with Java 8 and above

Added

  • MatchResult.getEntry default method

Changed

  • MatchResult no longer implements Iterable (Matcher still does though)
  • Creates lots of default methods in MatchResult to handle basic functionality (makes easier to implement MatchResult interface)

Fixed

  • Matcher.toMatchResult ClassCastException in Java 9

Removed

  • Matcher.clone (no longer cloneable, since cannot clone java.util.regex.Matcher)
  • Matcher.isMatchResult (since now it would always return false and is no longer needed)
  • Matcher.size (returned the number of matches - not frequently used)
  • MatcherResult.size (returned number of groups)

v.1.2.0

30 Aug 13:08
Compare
Choose a tag to compare
v1.2.0

Merge branch 'master' of https://github.com/CodesAway/RegExPlus

v1.1.0

13 Jul 12:10
a7b6739
Compare
Choose a tag to compare

Added

  • asPredicate method
    • asPredicate() mimics what Java added in Java 8
    • Static asPredicate(String)
      • Takes String regex and creates Predicate
      • Uses getThreadLocal to reuse the Matcher, while ensuring each Thread has it's own (since they are not thread-safe)

1.0.0

10 Jul 14:52
Compare
Choose a tag to compare

Initial Maven release