On Fri, 2009-09-11 at 12:43 -0700, John Hardin wrote: > \s is the proper way to represent whitespace.
True. However, in all rule types that use rendered text, there is only a space -- no tabs. Well, there are newlines, but that doesn't matter unless you use special modifiers. ;) Actually, this reminds me -- if Alex is writing his rule as a body rule, the text parts are rendered and normalized. This effectively means any number of consecutive whitespace (within a paragraph) will be condensed to a single space. Thus /a b/ and /a {1,5}b/ become identical. -- 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; }}}