Returns the index of the first matching BMP character in a character sequence, or {@code -1} if no matching character is present. <p>The default implementation iterates over the sequence in forward order calling {@link #matches} for each character. @param sequence the character sequence to examine
(CharSequence sequence)
| 542 | * @return an index, or {@code -1} if no character matches |
| 543 | */ |
| 544 | public int indexIn(CharSequence sequence) { |
| 545 | return indexIn(sequence, 0); |
| 546 | } |
| 547 | |
| 548 | /** |
| 549 | * Returns the index of the first matching BMP character in a character sequence, starting from a |