re.matchsearches at the beginning of a stringre.searchsearches anywhere at the string- pip has
regexpackage used here regex::is_matchhas implicit.*?at the beginning and end of a patternfancy-regexdoes not support branches during backtracking
When porting, be careful in tracking all regex usages. If re.is_match used, prepend the regular expression with ^.
-
Benchmarking
RUSTFLAGS=-Awarnings cargo bench --bench bench -q static -- --noplot -
Documentation
cargo doc --open
cargo watch -q -x doc