diff options
Diffstat (limited to 'tests/reg.test')
-rw-r--r-- | tests/reg.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reg.test b/tests/reg.test index 2abe7b6..d7b8c5f 100644 --- a/tests/reg.test +++ b/tests/reg.test @@ -9,7 +9,7 @@ # # Copyright (c) 1998, 1999 Henry Spencer. All rights reserved. # -# RCS: @(#) $Id: reg.test,v 1.16.2.4 2007/12/18 11:23:16 dkf Exp $ +# RCS: @(#) $Id: reg.test,v 1.16.2.5 2008/05/26 21:46:44 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -1138,7 +1138,7 @@ test reg-33.13 {Bug 1810264 - infinite loop} { } 1 test reg-33.14 {Bug 1810264 - super-expensive expression} { set start [clock seconds] - regexp {(x{200}){200}$y} {x} + regexp {(x{100}){100}$y} {x} set time [expr {[clock seconds] - $start}] expr {$time < 5 ? "ok" : "Complex RE took $time seconds - bad!"} } ok |