On Tue, 2008-12-02 at 13:20 -0500, Ray Jette wrote:
> I am having a lot of issues with this. Sorry but my regex skills are not 
> very good. I'm trying to learn through. This is a skill I need to learn. 
> I decided to start at the beginning and build the expression up from 
> there. I have the following:
> /\bPO\b/i      I would assume this would match PO and po. The problem is 
> that it is only matching PO. It will not match po. Any ideas why?

Yes, and it does match case insensitively.

I guess the issue is with your testing environment. How are you testing
the rule, err, regexp for a rule?


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

Reply via email to