Function option_name_parser

Source
fn option_name_parser<'s>(input: &mut &'s str) -> ModalResult<&'s str>
Expand description

Recognizes option names.

This parser fully consumes its input.

§Format

The parser expects a sequence of ASCII alphanumeric characters, hyphens, dots, or underscores.

§Errors

If the input string does not match the expected format, an error will be returned.