summaryrefslogtreecommitdiff
path: root/contrib/tcl/tests/regexp.test
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcl/tests/regexp.test')
-rw-r--r--contrib/tcl/tests/regexp.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/tcl/tests/regexp.test b/contrib/tcl/tests/regexp.test
index 1f1aecffc2a48..5fb785be3d32d 100644
--- a/contrib/tcl/tests/regexp.test
+++ b/contrib/tcl/tests/regexp.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# SCCS: @(#) regexp.test 1.20 96/04/02 15:03:53
+# SCCS: @(#) regexp.test 1.21 96/12/23 13:59:48
if {[string compare test [info procs test]] == 1} then {source defs}
@@ -27,6 +27,9 @@ test regexp-1.3 {basic regexp operation} {
test regexp-1.4 {basic regexp operation} {
regexp -- -gorp abc-gorpxxx
} 1
+test regexp-1.5 {basic regexp operation} {
+ regexp {^([^ ]*)[ ]*([^ ]*)} "" a
+} 1
test regexp-2.1 {getting substrings back from regexp} {
set foo {}