Re: OT: NFilter help
- From: Enoch Root <eroot@xxxxxxxxxxxxxx>
- Date: Sun, 14 May 2006 13:29:51 -0700
Doug Miller wrote:
In article <4cp8o9F17548fU1@xxxxxxxxxxxxxx>, "Bill Stock" <me7@xxxxxxxxxxx> wrote:
rec.woodworking flag:XPOST xref:*:*:*
Xref: uni-berlin.de rec.woodworking:1274982
So this should not be flagged, but it is.
Yes, it should. You told it to. :-)
Thus, *:*:* means match zero or more of any character, followed by zero or
more colons, followed by zero or more colons.
*:.*:.* is probably closer to what you want: zero or more of any character,
followed by one colon, followed by zero or more of any character, followed by
one colon, followed by zero or more of any character.
An illustration of the difference between mere globs, and more powerful
regular expressions.
Globbing text, a "*" will grab anything, but using regular expressions a
"*" is a "zero or more" quantifier for the preceding symbol, which in
this case is a character (irrelevant, since you are matching zero or
more of them it'll succeed in any case).
In regex: "." is any character and like Doug says, is prolly what you
want. You could also be stricter (always better) and use \w in
combination with "+":
\w+:\w+
Or, as you /appear/ to be interested in blocking posts to xposted to
_more_than_two_ groups:
\w+:\w+:\w+
er
--
email not valid
.
- Follow-Ups:
- Re: OT: NFilter help
- From: Doug Miller
- Re: OT: NFilter help
- From: Enoch Root
- Re: OT: NFilter help
- References:
- OT: NFilter help
- From: Bill Stock
- Re: OT: NFilter help
- From: Doug Miller
- OT: NFilter help
- Prev by Date: Re: This is disgusting, how can one report this spamme(s)r?
- Next by Date: Re: OT: How do they do that?
- Previous by thread: Re: OT: NFilter help
- Next by thread: Re: OT: NFilter help
- Index(es):
Relevant Pages
|