2 Checks for trivial [regex](https://crates.io/crates/regex)
3 creation (with `Regex::new`, `RegexBuilder::new`, or `RegexSet::new`).
6 Matching the regex can likely be replaced by `==` or
7 `str::starts_with`, `str::ends_with` or `std::contains` or other `str`
11 If the same regex is going to be applied to multiple
12 inputs, the precomputations done by `Regex` construction can give
13 significantly better performance than any of the `str`-based methods.