title: How to validate every number in a timer with 'hh:mm:ss' format where 0<=mm,ss<=59?
body: <p>I want to validate my timerlabel which is on the format hh:mm:ss and so far i have done it by this:</p>
  <pre><code>if re.match(&quot;^[0-9]{2}:[0-9]{2}:[0-9]{2}$&quot;, self._lineeditDuration.text()):
  </code></pre>
  <p>The problem with the above line is that the user can enter 00:99:99, which does not make sense that the minutes and seconds can be higher than 59.</p>
  <p>Is there a way to validate each of the numbers that represents minutes, so the first number can be 0-5 and the second number can be 0-9. The same goes for seconds.</p>