(byte[] b)
| 367 | */ |
| 368 | // This is visible for testing. |
| 369 | boolean matchUTF8(byte[] b) { |
| 370 | return doExecute(MachineInput.fromUTF8(b), 0, UNANCHORED, 0) != null; |
| 371 | } |
| 372 | |
| 373 | /** |
| 374 | * Returns true iff textual regular expression {@code pattern} matches string {@code s}. |