phobos-next v0.1.0 (2016-04-10T11:57:37Z)
Home
Dub
Repo
skipOverEither
skip_ex
Variadic Version of
skipOver
.
size_t
skipOverEither
(
alias
pred
= "a == b"
Range
Ranges
...
)
(
ref
Range
haystack
,
Ranges
needles
)
if
(
Ranges.length
>= 2 &&
is
(
typeof
(
startsWith
!
pred
(
haystack
,
needles
)))
)
Return Value
Type:
size_t
index + 1 into matching
needles
, 0 otherwise.
Meta
Source
See Implementation
skip_ex
aliases
skipBacks
skipFronts
functions
skipOverBack
skipOverBackShortestOf
skipOverEither
skipOverLongestOf
skipOverPrefixes
skipOverShortestOf
skipOverSuffixes
Variadic Version of skipOver.