Module expand

Source
Available on crate feature into-regex only.
Expand description

Cucumber Expressions AST into Regex expansion.

Follows original production rules.

Re-exports§

pub use self::parameters::Provider as ParametersProvider;
pub use self::parameters::WithCustom as WithCustomParameters;

Modules§

parameters
Support for custom Parameters.

Structs§

EscapeForRegex
Iterator for escaping ^, $, [, ], (, ), {, }, ., |, ?, *, + with \, and removing it for other chars.
OwnedChars
Like str::Chars Iterator, but owns its String.
SkipLast
Iterator for skipping a last Item.

Enums§

Error
Possible errors while parsing Input representing a Cucumber Expression and expanding it into a Regex.
ParameterError
Possible Parameter errors being used in an Expression.

Traits§

IntoRegexCharIter
Expansion of a Cucumber Expressions AST element into a Regex by producing a chars Iterator following original production rules.