On Thu, 27 Jan 2005 11:36:39 -0800, Rick Fletcher <[EMAIL PROTECTED]> wrote:
>
> /^(1?[1-9]|[12]0)$/ works too.  The first part covers 1-9, 11-19; the
> second part gets you 10 and 20.
> 
> Plus, it's ever so slightly shorter!  And isnt' that what's most
> important? :P

absolutely, and you managed it without a typo, unlike me :(

  -robin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to