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
E.g., searching for {CR, CRLF} will not match a terminating '\r', as it could become a CRLF if a '\n' were appended.
Similarly, when matching paragraph separators, multiple newlines at end of input are not matched, as adding more characters could extend the separator.
The methods should probably return Option<PartialMatch>, where PartialMatch has FullMatch {start: usize, end: usize} and PotentialStartOfLongerMatch(usize) variants (All names not final)