On Thu, 2009-02-19 at 16:37 +0000, Nigel Frankcom wrote:
> Many thanks to all... I have the rule working. As usual it was a
> syntactical error (typo).

;)  Good to see it fixed.

> uri __NFuri m{^https?\://www\.google\.com/groups?}i

Aha, so it's not m,groups/, with a trailing slash, as in your original
post. :)  Just as a reminder, that's exactly where you should use -D and
check the sub-rules hit. No wild-goose chase, the missing sub is where
to look at closer.

Anyway, there's another (potential) issue with that RE. If it is a
literal question-mark, then it needs to be escaped. And if it isn't, the
s *and* the question-mark are useless -- a plain /group/ does the same.

  guenther


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

Reply via email to