Page 1 of 1

Reject regex help

Posted: February 9th, 2024, 9:10 pm
by firekidop
I want to reject if any of the keyword is available in title. can I use something like this? it does not working

re:(REMUX|DVDRip|DVD|remux)

Code: Select all

https://pythex.org/?regex=re%3A(REMUX%7CDVDRip%7CDVD%7Cremux)&test_string=Detective.Conan.S01E28.BluRay.REMUX.AVC.FLAC.2.0-Fabre&ignorecase=1&multiline=0&dotall=0&verbose=0

Re: Reject regex help

Posted: February 10th, 2024, 1:54 am
by sander

Re: Reject regex help

Posted: February 10th, 2024, 6:22 am
by jcfp
You need to drop the "re:" part from your regex on that pythex website, otherwise it will only match strings that literally include "re:" such as "re:REMUX" or "re:DVD". Also note that with "DVD" in that list of alternatives, "DVDRip" is redundant, as anything matching the latter would already hit on the former.

I assume this is intended for a pre-queue script?

Re: Reject regex help

Posted: February 10th, 2024, 8:46 am
by safihre
This is for the RSS filtering. There we support re:

Re: Reject regex help

Posted: February 10th, 2024, 11:07 am
by firekidop
thank you, it worked fine. following one is working. only I had to add

Accept: *

re:(REMUX|DVDRip|DVD|remux)