Theo Van Dinter wrote: >On Mon, Mar 11, 2002 at 02:26:42PM +0000, Matt Sergeant wrote: > >>I think the original intention of the count was to make sure we had at >>least three upper case chars, in which case you could get away with: >> >>/^([A-Z]|[^a-z])*?[A-Z]{3,}([A-Z]|[^a-z])*$/ >> >>That needs testing though to make sure it doesn't backtrack horribly (I >>don't think it will, but I could be wrong). >> > >Why not simplify this a little bit? > >/^[^a-z]*?[A-Z]{3}[^a-z]*$/ > Yeah, I like this, too. If it wasn't for you meddling kids, MY change would be in the distribution! :-)
-- http://www.pricegrabber.com | Dog is my co-pilot. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk