HELP NEEDED ... Regd. Regular expressions PyQt

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Feb 3 11:40:31 EST 2007


In <mailman.3499.1170501188.32031.python-list at python.org>, vishal wrote:

> I am trying to work out a regular expression in a PyQt environment for
> time in hh:mm:ss format. Any suggestions?

Maybe don't use a re for something that simple.  Splitting at ``:``
characters, converting to `int` and checking the value ranges isn't that
hard without a regular expression.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list