-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesL-suggestionLint: Improving, adding or fixing lint suggestionsLint: Improving, adding or fixing lint suggestionsgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
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
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesL-suggestionLint: Improving, adding or fixing lint suggestionsLint: Improving, adding or fixing lint suggestionsgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy