Skip to content

Skip UserWarning for regex #83

@amhanson9

Description

@amhanson9

I've used groups in some regular expressions to search for consecutive characters but not because I want to extract that group. This prints a UserWarning that I'm not accessing the groups every time the script runs. It just prints once, so I can just ignore it. But is there a way to turn that warning off without missing important other warnings?

I did look for other ways besides using groups to do what I'm doing but did not easily find another option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions