Skip to content

add warning for regular expression with [/\] #2043

@asottile

Description

@asottile

pre-commit normalizes slashes to forward slashes since 2.5.0 (and further back to 1.19.0 for per-hook configuration)

there's already a similar warning for /* so this should be a fairly beginner-friendly changeset

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions