On Sat, 2011-04-23 at 11:05 +0100, Niamh Holding wrote:
> KB> The regex tester is broken.

To be honest, it is not necessarily broken. I don't even know which tool
you used.

That comment should be understood as an emphasis of my previous detailed
explanation of the RE and the issues with it. Point is, the RE should
match exactly like SA did, despite the regex tester tool confirming your
expectation of the contrary.

Other than the tool being broken, it is of course entirely possible you
simply typo'ed either the RE or the Relay pseudo-header -- a newline
easily would have done that.


> Anyone care to suggest a good tester that runs locally under XP

Perl.


-- 
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; }}}

Reply via email to