Regd. Regular expressions PyQt

David Boddie david at boddie.org.uk
Sat Feb 3 09:28:51 EST 2007


On Saturday 03 February 2007 09:52, Paddy wrote:

> On Feb 3, 8:24 am, vis... at veriwave.com wrote:

>> I am trying to work out a regular expression in a PyQt environment for
>> time in hh:mm:ss format. Any suggestions?
> 
> Yep,
> Use Kodos!
> http://kodos.sourceforge.net/
> 
> - It's Fab.

There's also a Python port of the Regular Expressions example from Qt
in the PyQt source distribution, though it's not as feature complete
as Kodos, obviously. :-)

Vishal should probably start by trying one of these tools, typing
something like

  (\d\d):(\d\d):(\d\d)

into the regular expression (or pattern) field.

David



More information about the Python-list mailing list