You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle advancing with possibile sub-character end.
When searching in a substring with an endIndex that isn't on a character boundary,
advancing from the penultimate character position to the substring's endIndex can end
up failing, since advancing by a character finds the character-aligned index that is
_past_ the substring end. This change handles that case.
0 commit comments