Different version of tcl giving different answers
<p>I am running this function in tcl 8.0 verison.</p>

<pre><code>proc test {} {
    set owner 212549316
    set val [regexp {[0-9]{9}} $owner]
    puts $val
}
</code></pre>

<p>The same code in tcl 8.6, the output is <code>1</code> but in tcl 8.0 it is <code>0</code>.
I am checking whether the string contains only 9 digits in tcl 8.0.</p>

<p>Any help how to make it work in tcl 8.0 verison.</p>