Returns true iff this regexp matches the string s.
(CharSequence s)
| 314 | * Returns true iff this regexp matches the string {@code s}. |
| 315 | */ |
| 316 | boolean match(CharSequence s) { |
| 317 | return doExecute(MachineInput.fromUTF16(s), 0, UNANCHORED, 0) != null; |
| 318 | } |
| 319 | |
| 320 | boolean match(CharSequence input, int start, int end, int anchor, int[] group, int ngroup) { |
| 321 | return match(MatcherInput.utf16(input), start, end, anchor, group, ngroup); |