Re: validate string representation of a timedelta

2010-06-29 Thread CM
On Jun 29, 8:00 am, Thomas Jollans wrote: > On 06/29/2010 03:41 AM, CM wrote: > > > > > I'm looking for a good way to check whether a certain string is > > valid.  It is a string representation of a Python timedelta object, > > like this:  '0:00:03.695000' > > > (But the first place, the hours, co

Re: validate string representation of a timedelta

2010-06-29 Thread Thomas Jollans
On 06/29/2010 03:41 AM, CM wrote: > I'm looking for a good way to check whether a certain string is > valid. It is a string representation of a Python timedelta object, > like this: '0:00:03.695000' > > (But the first place, the hours, could also be double digits) > > In trying to figure out ho