Help with Regular Expressions

8 posts / 0 new
Last post
Athene

Hello.

I need some help with the Regular Expressions in the filters.

I have tried the following based on another thread here, but it doesn't give me anything.

.* Angel and Supernatural .*

It's suppose to add a star but nothing happens. As far as I know I run the most recent version of QuiteRSS.

I hope someone has an idea.

 

Thanks

Sheldon
Hi,

Hi,

if you want to match the phrase "Angel and Supernatural" please try this (without surrounding spaces)

.*Angel and Supernatural.*

or alternatively this

^(?=.*(?:Angel and Supernatural)).*$

If you want to match either the phrase "Angel" or the phrase "Supernatural" please try this 

^(?=.*(?:Angel|Supernatural)).*$

Kind regards,

Sheldon

Athene
Thanks that solved all my

Thanks that solved all my problems

Athene
Oh, by the way, can I set the

Oh, by the way, can I set the filters so they run automatically whenever there are unread news? I couldn't find the setting.

Sheldon
if you assign a news filter

if you assign a news filter to a dedicated feed (right panel in the news filter configuration) the related action will be automatically performed with every feed update.

Make sure the option

"Automatically update every ..."

under

Right click on the feed -> Properties -> General

is enabled and set according to your needs.

 

Athene
I tried the other version of

I tried the other version of this:

Match any condition

Description            doesn't contain      Harry Potter

 

Perform these actions:

Mark News as Read.

 

But it doesn't work.

 

The Harry Potter it's supposed to find is a part of a link, does that make a difference because I can't turn it off.

 

Thanks

Athene
I don't know what went wrong

I don't know what went wrong last night but now it works but only with one condition, as soon as I add a second condition it marks everything read.

Sheldon
Hi,

Hi,

what is this second condition?

If you like you can provide the feed url for testing too.

Kind regards,

Sheldon