Expand description

With this crate, there will be no more panic when trying to write/read a long regular expression.

To start writing out a regex with this crate, there are two main options (except the methods explained in the head_or_tail module), they are the new and new_section. The new method takes an &str as input and makes a raw expression (no settings involved) and the new_section method needs no input and basically makes it possible to write the intented regex by method chaining. To take the prepared regex out of the chain, the last method will be get_regex which outputs a Result including a regex of type Regex or an Error. The get_regex will in fact use the RegexBuilder::new and RegexBuilder::build methods of the regex crate.

Modules

A handful of universal regular expressions.

Create a group pattern in many different ways as desired.

Includes methods for starting/ending chain of expressions.

Creates a list of expressions.

Creates expressions to match literal characters.

Settings to be used as necessary meta information for patterns.

Structs