LexerRange.startsWith

bool startsWith(const(ubyte[]) needle) nothrow pure @safe @nogc const

Returns

true if the range starts with the given byte sequence