Rust

Rust

Made by DeepSource

Found invalid regex RS-E1002

Bug risk
Critical

Encountered invalid regex syntax in Regex::new or RegexBuilder::new. Refer to the occurrence message for more details.

Bad practice

Regex::new("[z-a]")

Recommended

Regex::new("[a-z]")