🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #144876

Re: [XNEWS] - Filtering out Cross-posting

#144876
From: »Q«
Date: Sat, 13 Mar 2004 14:01
29 lines
2237 bytes
Tech Zero <spamnet-mar@dragonfur.ca> wrote in
<news:Xns94AB296D31EFAZeroOne@news.individual.net>:

>>>   [~binaries]
>>>   Score:-9999
>>>      Xref: (.*:){3,}
>>
>> I think this can be simplified to (.*:){3}
>>
>> Any string with more than three colons also contains three
>> colons.
>>  Not that it matter much here.
>
> Actually no, "{3}" means exactly 3... If there are more the three
> then the Regex isn't true, and the message isn't scored.  }:8(

No.  Matching a substring is good enough to make the regex 'true.'  If
we were capturing substrings, mine would generally capture less than
yours, but both would return matches on the same strings.

Maybe a simpler example would help.  The regex 'aaa' matches *exactly*
three letter a's, but it's 'true' even if the string being examined is
'aaaaaaaaaaaaaa'.

Special | Test Regex for more examples.  ;)

-- 
�Q�
Technical Details
Message-ID: <MrQ94AB51AD3EDFitsmeitsQ@QsFQDN.dyndns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!209.12.44.158!not-for-mail
References: <AIU3c.770040$ts4.327290@pd7tw3no> <Xns94A96590B8D58duckrulestheuniverse@140.99.99.130> <Xns94A98C0B9A811ZeroOne@news.individual.net> <Xns94AA614D1B8B5j10161@207.225.159.8> <Xns94AA91BC55E24ZeroOne@news.individual.net> <MrQ94AABB84D60BBitsmeitsQ@QsFQDN.dyndns.org> <Xns94AB296D31EFAZeroOne@news.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ94AB51AD3EDFitsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: [XNEWS] - Filtering out Cross-posting
Date: Sat, 13 Mar 2004 08:01:44 -0600
From: »Q« <boxcars@gmx.net>
References: <AIU3c.770040$ts4.327290@pd7tw3no> <Xns94A96590B8D58duckrulestheuniverse@140.99.99.130> <Xns94A98C0B9A811ZeroOne@news.individual.net> <Xns94AA614D1B8B5j10161@207.225.159.8> <Xns94AA91BC55E24ZeroOne@news.individual.net> <MrQ94AABB84D60BBitsmeitsQ@QsFQDN.dyndns.org> <Xns94AB296D31EFAZeroOne@news.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!209.12.44.158!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 28
NNTP-Posting-Host: 209.12.44.158
X-Trace: news.uni-berlin.de 1079187079 68571522 I 209.12.44.158 ([201233])
X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm>
X-Face: *#`F(_&o,GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C