On Thu, 2008-02-28 at 14:26 +0100, Samuel Krieg wrote: > I'm trying to create a rule to identify "\/ista" (with backslash + slash). > > This does not seem to work: > > body WNG_OBFUVISTA /\b\\\/ista\b/i ^^^^ The backslash is not a word character. Thus, the \b word boundary requires a word immediately preceding this (rather than a non-word). In other words, this would fire only, if there is a char before this. It will not, if it occurs after a space or at the beginning of the string.
guenther -- char *t="[EMAIL PROTECTED]"; 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; }}}