skipCharRanges

Skips the read pointer over characters that fall into any of up to 8 ranges of characters. The first character in cs is the start of the first range, the second character is the end. This is repeated for any other character pair. A character falls into a range from a to b if a <= *p <= b.

@nogc nothrow
@forceinline
void
skipCharRanges
(
string cs
)
(
ref const(char)* p
)

Parameters

cs

the character ranges

p const(char)*

the read pointer

Meta