whatdaybob / sonarr_youtubedl

A Sonarr companion script to allow the automatic downloading of web series normally not available for Sonarr to search for. Using Youtube-DL it allows you to download your webseries from the list of supported sites.
107 stars 34 forks source link

Using uppercase of regex breaks \d #49

Open timotheeandres opened 1 year ago

timotheeandres commented 1 year ago

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.