Hello,
I'm trying to use a regexp to match everything that starts with "FF" in an RSS feed.
So I have put the following filter :
re:^FF
Oddly (?), it seems to pick up anything that starts with "F" and not just what starts with "FF"
Does anybody have an idea on how I could make this work ?
Thanks for your help,
Seb
Help with RSS feed and a basic regexp
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: Help with RSS feed and a basic regexp
I checked with
re:^De
and it correctly returns all matches that start with "De".
I don't have a feed where I can test FF
re:^De
and it correctly returns all matches that start with "De".
I don't have a feed where I can test FF
Re: Help with RSS feed and a basic regexp
The issue must be because this is the same letter twice (I have no issue with other filters).sander wrote:I checked with
re:^De
and it correctly returns all matches that start with "De".
I don't have a feed where I can test FF
I tried :
re:^(FF )
It seems to be working
Thanks,
Seb
Re: Help with RSS feed and a basic regexp
Like Sander, I cannot reproduce your issue.
Looking at the implementation code, it's sounds very very unlikely.
That's just not how Python regular expressions would behave.
Your work-around is a valid alternative though.
Looking at the implementation code, it's sounds very very unlikely.
That's just not how Python regular expressions would behave.
Your work-around is a valid alternative though.