-
-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
Description
Hi!
As briefly discussed here:
#2053 (comment)
pre-commit could detect the [\\/] regular expression as well.
As of now (pre-commit 2.16.0), such a regex does not trigger any warnings.
Besides, IIRC, the regex [\/], currently detected, matches the single character / (not / and \), so I think it shouldn't be mentioned as an erroneous way for matching both kinds of slashes.
(see https://regex101.com/r/FRPiLZ/1)
Thanks!
Reactions are currently unavailable