A minimal regular expression engine built on top of non-deterministic finite automata(NFAs).
Use within RegEx::from_pattern()
.matches any single character|for alternate:a|bmatchesaorb[]for character classes:[abc]matches any character in the set- Use
^at the beginning to negate:[^abc]matches any character excepta,b, orc - Predefined character classes:
\d,\Dfor digits\l,\Lfor lowercase letters\u,\Ufor uppercase letters\s,\Sfor whitespace