nom_supreme::tag

Module streaming

Source
Expand description

Streaming version of enhanced tag parsers.

Functionsยง

  • Parser recognizing a fixed pattern, called a tag. If the front of the input data matches the tag, that part of the input will be returned. Records the tag in the error in the event of a parse failure via TagError. If there is only a partial match, returns Err::Incomplete.
  • Parser recognizing a fixed pattern, called a tag. If the front of the input data matches the tag, case insensitively, that part of the input will be returned. Records the tag in the error in the event of a parse failure via TagError. If there is only a partial match, returns Err::Incomplete[nom::Err::Incomplete].