Skip to content

Using uppercase of regex breaks \d #49

@timotheeandres

Description

@timotheeandres

Currently using whatdaybob/sonarr_youtubedl:dev from docker, I have an issue with the title regex in the configuration. I checked, and the same issue is present in main.

I would like to have a regex that can contain an episode number, such as this: Ep. \\d+ | \g<1>. However, the code currently transforms the regex to uppercase, which changes the meaning of the regex: \d is a digit, whereas \D is a non-digit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions