support for regular expressions in categories config?

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
User avatar
nix47
Newbie
Newbie
Posts: 1
Joined: January 28th, 2012, 7:01 pm

support for regular expressions in categories config?

Post by nix47 »

I'm wondering if sabnzbd supports using regular expressions in the configuration of categories? Basically what I want to do is create a category for music and a category for music videos but hopfully avoid having to configure multiple entries for all the different music categories.

So far I've defined categories as:

Code: Select all

Category       |Priority       |Processing     |Folder/Path    |Groups / Indexer tags
---------------+---------------+---------------+---------------+---------------------
music          |Default        |Default        |Music/Audio    |Music: MP3*
music video    |Default        |Default        |Music/Video    |Music: Video*
what I'd like to do is something like the following, so that I include all of the non-video music categories in one category definition:

Code: Select all

Category       |Priority       |Processing     |Folder/Path    |Groups / Indexer tags
---------------+---------------+---------------+---------------+---------------------
music          |Default        |Default        |Music/Audio    |re:^Music:\s[^V][^I][^D][^E][^O]*
music video    |Default        |Default        |Music/Video    |Music: Video*
Does anyone know if this is possible? Or would I need to configure separate music categories for every non-video category?

Thanks in advance for any help anyone can give me on this... :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: support for regular expressions in categories config?

Post by shypike »

Yes, regexes are supported.
See: http://wiki.sabnzbd.org/configure-rss-v2
Post Reply