Page 1 of 1

What header field characters does the filter work on?

PostPosted: Sun Nov 02, 2008 8:42 pm
by optiman
That latest beta is giving me problems, it broke my filter "ext\ \ [a-z]+"

So I'm trying to find other ways to filter. Does the filter look at the Subject line as displayed in Newsbin or the subject line as seen in the ACTUAL header line? The ACTUAL "Subject: blah blah" line is different. It often contains extra characters like "(1/1)" inserted. The filter usually ignores the extra characters in the Subject: real header.

So-- what is the actual set of characters the filter is parsed against?
Thanks!

PostPosted: Sun Nov 02, 2008 8:49 pm
by itimpi
I do not think that escaping spaces is working at the moment - you should try /s or [ ] instead.

PostPosted: Sun Nov 02, 2008 9:26 pm
by Quade
I don't think [ ] works either. No spaces are currently permitted in the search string. "/s" is how you want to represent spaces for now.

PostPosted: Mon Nov 03, 2008 2:11 am
by optiman
I tried "/s", "\s", [ ]-- nothing seems to match spaces now. Good to know I wasn't imagining things though!

PostPosted: Mon Nov 03, 2008 2:59 am
by Quade
\s works fine for me. It means one space though.

"cpie\s\s2" for example.
"cpie\s+2" works too.

11-02-08 CPie 21 of 23 - <file>

Matched this. 2 spaces between cpie and the 2

PostPosted: Sat Nov 07, 2009 12:36 pm
by bobkoure
Is \s "space" or "whitespace"? The standard is "whitespace", but I've seen some regex engines only match "space"...