Page 1 of 1

support for regular expressions in categories config?

Posted: January 28th, 2012, 8:05 pm
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... :)

Re: support for regular expressions in categories config?

Posted: January 29th, 2012, 2:23 pm
by shypike
Yes, regexes are supported.
See: http://wiki.sabnzbd.org/configure-rss-v2