diff options
author | dgp <dgp@users.sourceforge.net> | 2004-11-27 05:43:57 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-11-27 05:43:57 (GMT) |
commit | 56fa6ef521b7c5ef4e3bcf2558d801dc4d634a9b (patch) | |
tree | da4eee2d78745765743736aa26a0cb97b472630f /tests/reg.test | |
parent | 7778fdfcbb5b90973b6c0feaff100c6060fdc45d (diff) | |
download | tcl-56fa6ef521b7c5ef4e3bcf2558d801dc4d634a9b.zip tcl-56fa6ef521b7c5ef4e3bcf2558d801dc4d634a9b.tar.gz tcl-56fa6ef521b7c5ef4e3bcf2558d801dc4d634a9b.tar.bz2 |
* tests/reg.test (reg-32.*): Added missing testregexp constraints.
Diffstat (limited to 'tests/reg.test')
-rw-r--r-- | tests/reg.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/reg.test b/tests/reg.test index 66c3768..8994fdc 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.2 2003/11/17 18:12:09 dgp Exp $ +# RCS: @(#) $Id: reg.test,v 1.16.2.3 2004/11/27 05:44:13 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -995,7 +995,7 @@ test reg-31.1 {[[:xdigit:]] behaves correctly when followed by [[:space:]]} { # Code used to produce {1 2:::DebugWin32 2 :::DebugWin32} !!! } {1 2 2 {}} -test reg-32.1 {canmatch functionality -- at end} { +test reg-32.1 {canmatch functionality -- at end} testregexp { set pat {blah} set line "asd asd" # can match at the final d, if '%' follows @@ -1003,7 +1003,7 @@ test reg-32.1 {canmatch functionality -- at end} { lappend res $resvar } {0 7} -test reg-32.2 {canmatch functionality -- at end} { +test reg-32.2 {canmatch functionality -- at end} testregexp { set pat {s%$} set line "asd asd" # can only match after the end of the string @@ -1011,7 +1011,7 @@ test reg-32.2 {canmatch functionality -- at end} { lappend res $resvar } {0 7} -test reg-32.3 {canmatch functionality -- not last char} { +test reg-32.3 {canmatch functionality -- not last char} testregexp { set pat {[^d]%$} set line "asd asd" # can only match after the end of the string @@ -1019,7 +1019,7 @@ test reg-32.3 {canmatch functionality -- not last char} { lappend res $resvar } {0 7} -test reg-32.3.1 {canmatch functionality -- no match} { +test reg-32.3.1 {canmatch functionality -- no match} testregexp { set pat {\Zx} set line "asd asd" # can match the last char, if followed by x |