summaryrefslogtreecommitdiffstats
path: root/tests/lsearch.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-11-29 10:32:30 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-11-29 10:32:30 (GMT)
commitd8635a48cf1f669a2c8103dacc8a93e3e3269b87 (patch)
treefd58b66c165407add33b851463c430b406df7bea /tests/lsearch.test
parent2c6f5f96ac3e2cd2f9d6a94d2df7d40ad2e81c90 (diff)
downloadtcl-d8635a48cf1f669a2c8103dacc8a93e3e3269b87.zip
tcl-d8635a48cf1f669a2c8103dacc8a93e3e3269b87.tar.gz
tcl-d8635a48cf1f669a2c8103dacc8a93e3e3269b87.tar.bz2
Fix [Bug 1366683]
Diffstat (limited to 'tests/lsearch.test')
-rw-r--r--tests/lsearch.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lsearch.test b/tests/lsearch.test
index 96ff415..47d4ffc 100644
--- a/tests/lsearch.test
+++ b/tests/lsearch.test
@@ -11,7 +11,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: lsearch.test,v 1.10.2.1 2003/03/27 13:11:16 dkf Exp $
+# RCS: @(#) $Id: lsearch.test,v 1.10.2.2 2005/11/29 10:32:31 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -349,6 +349,10 @@ test lsearch-16.1 {lsearch -regexp shared object} {
set str a
lsearch -regexp $str $str
} 0
+# Bug 1366683
+test lsearch-16.2 {lsearch -regexp allows internal backrefs} {
+ lsearch -regexp {a aa b} {(.)\1}
+} 1
# cleanup
catch {unset res}