We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::invalid_regex
1 parent 3a4e457 commit 142898eCopy full SHA for 142898e
clippy_lints/src/regex.rs
@@ -19,7 +19,7 @@ declare_clippy_lint! {
19
///
20
/// ### Example
21
/// ```ignore
22
- /// Regex::new("|")
+ /// Regex::new("(")
23
/// ```
24
#[clippy::version = "pre 1.29.0"]
25
pub INVALID_REGEX,
0 commit comments