Collect and implement ideas of more useful methods
Todo
boolean matchesAll(CharSequence, Pattern...)
Optional<String> substring(String, Pattern)
Maybe
- Look into Lambdas (either Xtend or Java8)
<T> T ifMatches(Pattern, Function<String, T>)
void ifMatches(Pattern, Procedure<String>)
- Maybe pass in the matcher for the calculation of the lambdas?
- Utility methods for capturing groups
Collect and implement ideas of more useful methods
Todo
boolean matchesAll(CharSequence, Pattern...)Optional<String> substring(String, Pattern)Maybe
<T> T ifMatches(Pattern, Function<String, T>)void ifMatches(Pattern, Procedure<String>)