Hi all,
I'm still not sure whether this is a bug, or something which I'm just not doing right?
I'm trying to use the filter 're:$name' ... so that it automatically downloads files by certain groups, but when I preview the feed, it just doesn't seem to be matching anything?
[And yes, there are definitely results in the feed which it should match.]
If I try and use any wildcards in the string - either before or after the $ - it seems to crash the whole feed, and just gives me an error saying "Request unsuccessful."
Any ideas / suggestions?
FWIW - I'm running 0.5.1RC2 on Ubuntu Linux.
Regex $ match not working?
Forum rules
Help us help you:
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.
Re: Regex $ match not working?
In regexp $ means the end of a string. Therefore, 're:$name' by definition cannot match anything.
-
- Newbie
- Posts: 37
- Joined: January 15th, 2010, 9:41 am
Re: Regex $ match not working?
OK ... so I had the syntax the wrong way 'round. Seems pretty obvious now, but oh well ...jcfp wrote: In regexp $ means the end of a string. Therefore, 're:$name' by definition cannot match anything.
're:name$' does exactly what I want it to, so thanks for that!
--David