Run back from end (a reverse DFA): the leftmost position >= bound where a match ending at
end can start, or -1.
dfa_find_start :: (
d: *Dfa,
text: string,
bound: int,
end: int
) -> (start: int, gave_up: bool)
Run back from end (a reverse DFA): the leftmost position >= bound where a match ending at
end can start, or -1.
Parameters
- d: *Dfa
- text: string
- bound: int
- end: int
Returns
- start: int
- gave_up: bool