On Wed, 2008-08-27 at 18:34 -0700, John Hardin wrote: > On Thu, 28 Aug 2008, Michael Hutchinson wrote: > > > I would be hoping to match the same sort of URL: > > http://ns1.shinwa-com.co.jp/~denso/card.exe > > > > But only match it from the last trailing / character. In other words, if > > the message carries a link to "card.exe" at any address, it will be > > marked up. > > Why do you care about the part before the period? You don't like card.exe > but you trust card1.exe?
Exactly my point! (see that other thread) > > My thoughts were that all I would need is a rule like: > > uri MY_EXE_URI /card.exe/i > > > > Or do I need to actually match all of the stuff before that, using a > > wildcard for example? > > Look back a couple of messages, a good short version was posted. That would be my post. Thanks! :) 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; }}}