Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport maintenance/2.17.x] Ignore quantifiers when splitting comma-separated regexes (#8898) #8901

Commits on Jul 30, 2023

  1. Ignore quantifiers when splitting comma-separated regexes (pylint-dev…

    …#8898)
    
    Do not split on commas if they are between braces, since that indicates
    a quantifier. Also added a protection for slow implementations since
    existing workarounds may result in long strings of chained regular
    expressions.
    
    Adjust existing test for invalid regex to be truly invalid
    
    Co-authored-by: lihu <[email protected]>
    (cherry picked from commit d28def9)
    jacobtylerwalls committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    d69ae76 View commit details
    Browse the repository at this point in the history