Hi, On Sun, May 11, 2014 at 9:32 PM, Karsten Bräckelmann <guent...@rudersport.de > wrote:
> On Sat, 2014-05-10 at 20:19 -0400, Alex wrote: > > [...] not sure if something's changed, or the rule never worked as I > > expected, but it's having problems, and I hoped someone could help. > > Something changed indeed -- you broke the __RB_GT_200 sub-rule. > > > body __RB_GT_200 /^.{201}/s > > This is supposed to be a rawbody rule. I know, because I've discussed > and partly developed the rule(set) in question with you before, back in > Oct 2013. And the RB prefix is a hint as well. ;) > > http://markmail.org/message/ebrm6snglxipj6wx > Oh, I remember this thread very well. I referenced your helping me with it in the beginning of this post. I don't think it was broken all this time, as I know I tested it quite extensively, but I don't know how it became a body instead of rawbody rule. Since I thought for sure it was once working, I didn't even think it was something I did. It wasn't a case of not understanding the difference between body and rawbody, at least. I plan to experiment further with the body version you've just created, and see if there's usefulness with that in other cases. Thanks again, Alex > -- > 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; > }}} > >