nxt.skip_ex

Extensions to skipOver.

Members

Functions

skipOverBack
bool skipOverBack(Haystack haystack, Needle needle)

Skip over the ending portion of haystack that matches needle, or nothing upon no match.

skipOverBack
bool skipOverBack(Haystack haystack, Needle needle)
skipOverBackShortestOf
size_t skipOverBackShortestOf(Range haystack, Ranges needles)

Skip Over Back Shortest Match of needles in haystack.

skipOverEither
size_t skipOverEither(Range haystack, Ranges needles)

Variadic version of skipOver.

skipOverFrontAndBack
bool skipOverFrontAndBack(R r, E frontPrefix, F backSuffix)

Drop either both prefix frontPrefix and suffix backSuffix or do nothing.

skipOverLongestOf
SkipOverLongest skipOverLongestOf(Range haystack, Ranges needles)

Skip Over Longest Matching prefix in needles that prefixes haystack.

skipOverPrefixes
void skipOverPrefixes(R s, A prefixes)

Drop prefixes in s. * * TODO Use multi-argument skipOver when it becomes available * http://forum.dlang.org/thread/bug-12335-3@https.d.puremagic.com%2Fissues%2F

skipOverShortestOf
size_t skipOverShortestOf(Range haystack, Ranges needles)

Skip Over Shortest Matching prefix in needles that prefixes haystack.

skipOverSuffixes
void skipOverSuffixes(R s, A suffixes)

Drop suffixes in s.

See Also

Meta