Module literal

Source
Expand description

Creates expressions to match literal characters.

The most basic way of writing regex using this crate is by calling the literal method. As the name implies, it’s for creating regular expressions that should match characters literally. It cannot be used as the very first method but it is the backbone of other important methods (e.g. group method). It takes an expression and a set of settings (special characters, flags etc.) and outputs an EasyRegex instance.