[Tutor] Input

Ricardo Aráoz ricaraoz at gmail.com
Wed Jan 16 02:24:51 CET 2008

Tiger12506 wrote:
> Try regular expressions in the re module. This should make this code below 
> much much simpler. Downside is you have to learn a slightly different 
> syntax. Upside is - regular expressions are very powerful.

Of course I know and use reg. exps., the point of the function is not to
validate input but to force the proper input.

More information about the Tutor mailing list