Closed
Description
Clippy version: clippy 0.0.212 (265318d 2019-05-17)
I get the following error when linting code, and I have a feeling it might be a bug. If it is not, it maybe clippy can give a correct suggestion?
error: regex syntax error: unrecognized escape sequence
--> src/compiler/utilities.rs:187:52
|
187 | static ref RE: Regex = Regex::new("^..?($|[\\/])").unwrap();
| ^^
|
= note: #[deny(clippy::invalid_regex)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#invalid_regex