(String s)
| 648 | */ |
| 649 | // This is visible for testing. |
| 650 | String find(String s) { |
| 651 | int[] a = doExecute(MachineInput.fromUTF16(s), 0, UNANCHORED, 2); |
| 652 | if (a == null) { |
| 653 | return ""; |
| 654 | } |
| 655 | return s.substring(a[0], a[1]); |
| 656 | } |
| 657 | |
| 658 | /** |
| 659 | * Returns a two-element array of integers defining the location of the leftmost match in |