On Wed, 2009-01-21 at 01:04 +0000, rje...@vzw.blackberry.net wrote: > I am attempting to create a regular expression to give a negative score > for purchase orders.
> I have not been able to get this to work correctly. I have the following: *flashback* 8 weeks passed. Did you read and understand all the replies? All the custom rules people have been writing for you? Did you spend the time learning REs as I told you, instead of blindly stabbing at the poor, innocent stream of bytes? Did you at least find out what mail "you are losing"? You never bothered to respond to that at all... Wow, that was one serious flashback. I guess that's what I get for losing myself in some old Seinfeld snippets. :) -- char *t="\10pse\0r\0dtu...@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; }}}