re.compile and very specific searches
Diez B. Roggisch
deetsNOSPAM at web.de
Fri Feb 18 16:05:49 EST 2005
>
> 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
More information about the Python-list
mailing list