You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ian Zimmerman <it...@buug.org> on 2014/05/21 20:59:35 UTC
Matching multiple newlines [Was: Bayes refinement]
On Wed, 21 May 2014 11:50:15 -0700 (PDT)
John Hardin <jh...@impsec.org> wrote:
> rawbody __LOCAL_MUCHO_BLANKS /\n\n\n\n\n\n\n\n\n\n/m
Hmmm, no, your version doesn't work, either. Would this be of any import?
[24+0]~$ perl --version
This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int
(with 88 registered patches, see perl -V for more detail)
--
Please *no* private copies of mailing list or newsgroup messages.
Re: Matching multiple newlines [Was: Bayes refinement]
Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Wed, 2014-05-21 at 11:59 -0700, Ian Zimmerman wrote:
> Would this be of any import?
>
> [24+0]~$ perl --version
>
> This is perl 5, version 14, subversion 2 (v5.14.2)
Nope, the Perl version does not make a difference here.
--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
Re: Matching multiple newlines [Was: Bayes refinement]
Posted by John Hardin <jh...@impsec.org>.
On Wed, 21 May 2014, Ian Zimmerman wrote:
> On Wed, 21 May 2014 11:50:15 -0700 (PDT)
> John Hardin <jh...@impsec.org> wrote:
>
>> rawbody __LOCAL_MUCHO_BLANKS /\n\n\n\n\n\n\n\n\n\n/m
>
> Hmmm, no, your version doesn't work, either. Would this be of any import?
>
> [24+0]~$ perl --version
>
> This is perl 5, version 14, subversion 2 (v5.14.2) built for i486-linux-gnu-thread-multi-64int
> (with 88 registered patches, see perl -V for more detail)
Maybe. I'm on v5.16.3
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
...the good of having the government prohibited from doing harm
far outweighs the harm of having it obstructed from doing good.
-- Mike@mike-istan
-----------------------------------------------------------------------
5 days until Memorial Day - honor those who sacrificed for our liberty