On Fri, 26 Mar 2004, Chris Santerre wrote:

>
> > -----Original Message-----
> > From: Al Danks [mailto:[EMAIL PROTECTED]
> > Sent: Friday, March 26, 2004 11:56 AM
> > To: [EMAIL PROTECTED]
> > Subject: Working rule to catch multiple occurrences of text
> >
> >
> > full     L_TEST
> > /(\b(best|most|more|((best|bett|bigg|larg|fast|quick)(er|est))
> > )\b.*){3}/is
> >
>
> Well can I add a final silly tweak? :-)
>
> full     L_TEST
> /(\b?:(?:best|most|more|((?:best|bett|bigg|larg|fast|quick)(?:er|est)))\b.*)
> {3}/is
>
> It is just quicker.

Hmmm.  Is "bestest" actually a spam sign?  How about "Bester".  I mean, sure
he's not the greatest guy in the world, but do you really want to annoy the
psi-corp?  I'd probably write it as (untested)

full     L_TEST 
/(?:\b(?:be(?:st|tter)|mo(?:st|re)|(?:bigg|larg|fast|quick)e(?:r|st))\b.*){3}/is
-- 
Adam Lopresto
http://cec.wustl.edu/~adam/

"Verbing weirds language."
    --Bill Waterson, "Calvin and Hobbes"

Reply via email to