Module bparse::pattern

source ·
Expand description

Implementations of the BytePattern trait for recognizing common patterns

Functions

  • Returns None if the byte at the start of the input is not an ascii alphabetic character
  • Returns a pattern that will match any one of the bytes in alternatives
  • Returns None if the byte at the start of the input is not an ascii digit
  • Returns None if the input is not empty
  • Returns None if the byte at the start of the input is not a hexadecimal character