Expand description
Parsers extracting tokens from the stream
Functionsยง
- Matches one token
- Recognizes a literal
- Recognize a token that does not match the pattern
- Recognize a token that matches the pattern
- tag
Deprecated Deprecated, replaced withliteral
- tag_
no_ case Deprecated Recognizes a case insensitive literal. - Recognize an input slice containing the first N input elements (I[..N]).
- Recognize the longest input slice (if any) till a pattern is met.
- take_
till0 Deprecated Recognize the longest input slice (if any) till a pattern is met. - take_
till1 Deprecated Recognize the longest (at least 1) input slice till a pattern is met. - Recognize the input slice up to the first occurrence of the literal.
- take_
until0 Deprecated Deprecated, seetake_until
- take_
until1 Deprecated Deprecated, seetake_until
- Recognize the longest (m <= len <= n) input slice that matches the pattern