On Fri, May 05, 2006 at 09:41:51PM -0700, Dan Patnode wrote:
> But doesn't 2 or more need a coma, as in?:
>       body DRUGS_SMEAR1        /(?:Viagra|Valium|Xanax|Soma|Cialis){2,}/i

If you want to include the "or more" part, yes.  However, "{2}" just means
"2", will include the set of things that match "2 or more".  In short, why
look for a match past 2 if you only care about there being at least 2.

-- 
Randomly Generated Tagline:
"Parser? Parsnip?  What's the difference?" - W. Erickson

Attachment: pgp326GRFkp1J.pgp
Description: PGP signature

Reply via email to