Page 1 of 1

A Sticky Suggestion

PostPosted: Sun Jan 29, 2006 12:44 am
by bearson
How's about compiling some of the common RE's in one sticky post? Probably would save a lot of needless questions. I'd expect the bulk of users are trying to filter the same sorts of things, anyway. I'd think you could cover most of the territory with a dozen or so.

PostPosted: Tue Mar 14, 2006 6:49 am
by ozzii
I try to do this filter ^[Re:]
but this doesn't work.
Can someone help me too :?:

PostPosted: Tue Mar 14, 2006 6:52 am
by ozzii
I try ^Re: and this work :wink:

PostPosted: Mon Apr 10, 2006 8:32 am
by bobkoure
I think perhaps bearson meant "Regular Expression" by RE.

PostPosted: Mon Apr 10, 2006 9:48 am
by Quade
I think it's a good idea.

PostPosted: Mon Mar 19, 2007 1:41 am
by ceyko
mmeeeee toooo. I was used to how to filter in 4.x, but it seems different here. Has me all confused.

PostPosted: Mon Mar 19, 2007 4:18 am
by itimpi
ceyko wrote:mmeeeee toooo. I was used to how to filter in 4.x, but it seems different here. Has me all confused.

Filter syntax has not changed between 4.x and the 5 series, so not sure why it should be causing you problems.

Re: A Sticky Suggestion

PostPosted: Sun Mar 25, 2007 11:39 pm
by bobkoure
bearson wrote: I'd expect the bulk of users are trying to filter the same sorts of things, anyway. I'd think you could cover most of the territory with a dozen or so.

So... come up with a suggested 12 things... (I don't mean the regex expressions - just the 12 things that the bulk of users are trying to do)

PostPosted: Mon Mar 26, 2007 12:51 am
by Quade
Yeah... Problem is we can't be to detailed here on the site because Dex and I are paranoid.

PostPosted: Mon Mar 26, 2007 10:25 am
by bobkoure
Yeah - but I didn't mean as specific as that.
For instance, I'd guess the most useful thing for regex newbies is just knowing that '.', '*', and '?' don't do what you think.
And the second most useful thing is '\b'.
So let me add that one, in a semi-generic way:

If you are looking through a newsgroup and you want to find (either for inclusion or exclusion) a short word that's often "buried" in other words, use the "word boundary" marker '\b'
For instance, if you're looking for the string "no" then filtering for just that gets you
no
as well as
_no_
nowhere
nothing
nottingham
noblese
north
etc
However, filtering for "\bno\b" gets you
no
no6
_no_
- but the words containing "no" are gone.