Reject regex help

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
firekidop
Newbie
Newbie
Posts: 18
Joined: May 20th, 2019, 5:17 pm

Reject regex help

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: Reject regex help

Post by sander »

User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Reject regex help

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Reject regex help

Post by safihre »

This is for the RSS filtering. There we support re:
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
firekidop
Newbie
Newbie
Posts: 18
Joined: May 20th, 2019, 5:17 pm

Re: Reject regex help

Post by firekidop »

thank you, it worked fine. following one is working. only I had to add

Accept: *

re:(REMUX|DVDRip|DVD|remux)
Post Reply