(String regex, CharSequence input)
| 56 | public abstract Matcher matcher(CharSequence input); |
| 57 | |
| 58 | public static boolean matches(String regex, CharSequence input) { |
| 59 | return Pattern.compile(regex).matcher(input).matches(); |
| 60 | } |
| 61 | |
| 62 | public String pattern() { |
| 63 | return pattern; |