Regex 1.8.0: Valid ?P<foo>
-> ?<foo>
triggers lint
#10680
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-positive
Issue: The lint was triggered on code it shouldn't have
Summary
https://github.com/rust-lang/regex/blob/master/CHANGELOG.md
rust-lang/regex#955
A new feature was added to regex 1.8.0 which allows removing this
P
character.The feature works, but clippy emits a false positive to it.
Lint Name
clippy::invalid_regex
Reproducer
I saw this happen: Clippy complains.
I expected to see this happen: No complaints.
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: