skipOverShortestOf

Skip Over Shortest Matching prefix in needles that prefixes haystack.

TODO: Make return value a specific type that has bool conversion so we can call it as if (auto hit = r.skipOverShortestOf(...)) { ... }

size_t
skipOverShortestOf
(
alias pred = "a == b"
Range
Ranges...
)
(
scope ref Range haystack
,
scope Ranges needles
)
if (
Ranges.length >= 2
)

Meta