RSS feed filter - exact word only?

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
sasdfas
Newbie
Newbie
Posts: 2
Joined: July 4th, 2014, 10:14 am

RSS feed filter - exact word only?

Post by sasdfas »

Hi,
I want to grab nzbs in my RSS feed that have for example the exact word "hat" in the title.
hat.magazine.july.TruePDF

Unfortunately when I put hat into the filter box, it grabs things like chat, hatter, shatter and so forth. Anything that contains the letters hat in sequence.

What expression can I use to grab only the full word hat ?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: RSS feed filter - exact word only?

Post by shypike »

You'll need to use a regular expression.
Google for Python Regex to study the subject.
Then prepend your expression with re:

It's probably something like:
re:[. ]hat[. ]
Which is hat surrounded by either dots or spaces.
Post Reply