Expand description
Routines specific to the reverse suffix optimization.
FunctionsΒ§
- has_
no_ πearlier_ match - Returns true when itβs impossible for an earlier match to be detected after
a literal candidate (corresponding to
suffix) has been found. - strip_
literal_ πsuffix - Strip
suffixfrom the end ofhirand return the HIR that remains. - strip_
literal_ πsuffix_ at - Strip a terminal part of
suffix[..suffix_cursor]from the end ofhir. - strip_
repetition_ πliteral_ suffix