What regular expression should i use for a repository EditMask to accept TimeSpan?
<p>I'm using a gridview with one of the columns binded to a TimeSpan property. </p>

<pre><code>        this.durationColumn.Caption = "Duration";
        this.durationColumn.ColumnEdit = this.repositoryItemTextEdit1;
        this.durationColumn.FieldName = "Duration";
</code></pre>

<p>where Duration is the property which the column is binded to:</p>

<pre><code>       public TimeSpan Duration {get; set; }
</code></pre>

<p>I've added the following EditMask to the repositoryItemTextEdit</p>

<pre><code>   this.repositoryItemTimeEdit1.Mask.EditMask = "-?\\d+\\:[0-5]\\d\\:[0-5]\\d\\";
</code></pre>

<p>which works just fine for a 24 hour interval.</p>

<p>So values like: </p>

<pre><code>      23:00:02 (23 hours and 2 seconds)
      12:24:02 
</code></pre>

<p>work good.</p>

<p>However when i enter:</p>

<pre><code>        25:00:02
</code></pre>

<p>the editor changes it to</p>

<pre><code>        25:00:00:02
</code></pre>

<p>I can't seem to get the correct regex to accept values like:</p>

<pre><code>        25:00:00 (25 hours)
        12:00:00:00 (12 days)
</code></pre>

<p>Can you guys help me?
Thanks a lot.</p>
