Hello Rick,

Thursday, January 27, 2005, 12:36:39 PM, you wrote:
R> /^(1?[1-9]|[12]0)$/ works too. The first part covers 1-9, 11-19;
R> the second part gets you 10 and 20.

R> Plus, it's ever so slightly shorter! And isnt' that what's most
R> important? :P


Purty!!!!  :grin:


-- 
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

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

Reply via email to