> - ->: \d+/?\d*
> - ->
> - ->ie 1 or more digits followed by 0 or 1 slashes followed by 0 or more
> digits.
this looks like it'll also accept invalid data, such as "1/" ... i
think there's some more tweaking involved to get it so that if there's
a '/', there is at least one digit afterwards.
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2006,2001
http://corepython.com
wesley.j.chun :: wescpy-at-gmail.com
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor