> > This approach would actually work without the need for subsequent > validation, if implemented properly. Not only as you noted does it let > "259" through, but also it doesn't cover 2-digit numbers starting with > 2. Assuming excess leading zeroes are illegal, the components required > are:
Damn. Certainly not my glory regular expression day. -- Regards, Diez B. Roggisch -- http://mail.python.org/mailman/listinfo/python-list