Module winnow::ascii

source ·
Expand description

Character specific parsers and combinators

Functions recognizing specific characters

Structs§

  • Mark a value as case-insensitive for ASCII characters

Traits§

Functions§

  • Recognizes zero or more lowercase and uppercase ASCII alphabetic characters: 'a'..='z', 'A'..='Z'
  • Recognizes one or more lowercase and uppercase ASCII alphabetic characters: 'a'..='z', 'A'..='Z'
  • Recognizes zero or more ASCII numerical and alphabetic characters: 'a'..='z', 'A'..='Z', '0'..='9'
  • Recognizes one or more ASCII numerical and alphabetic characters: 'a'..='z', 'A'..='Z', '0'..='9'
  • Recognizes the string "\r\n".
  • Decode a decimal signed integer (e.g. i32)
  • Decode a decimal unsigned integer (e.g. u32)
  • Recognizes zero or more ASCII numerical characters: '0'..='9'
  • Recognizes one or more ASCII numerical characters: '0'..='9'
  • escapedDeprecated
    Deprecated, replaced with take_escaped
  • Parse escaped characters, unescaping them
  • Recognizes floating point number in text format and returns a f32 or f64.
  • Recognizes zero or more ASCII hexadecimal numerical characters: '0'..='9', 'A'..='F', 'a'..='f'
  • Recognizes one or more ASCII hexadecimal numerical characters: '0'..='9', 'A'..='F', 'a'..='f'
  • Decode a variable-width hexadecimal integer (e.g. u32)
  • Recognizes an end of line (both "\n" and "\r\n").
  • Recognizes zero or more spaces, tabs, carriage returns and line feeds.
  • Recognizes one or more spaces, tabs, carriage returns and line feeds.
  • Matches a newline character '\n'.
  • Recognizes zero or more octal characters: '0'..='7'
  • Recognizes one or more octal characters: '0'..='7'
  • Recognizes zero or more spaces and tabs.
  • Recognizes one or more spaces and tabs.
  • Matches a tab character '\t'.
  • Recognize the input slice with escaped characters.
  • Recognizes a string of any char except "\r\n" or "\n".