about summary refs log tree commit diff
path: root/Test/54compmatch.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-06-15 09:10:23 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-06-15 09:10:23 +0000
commit6d8ec99c3519dce73c86705841254c6b68011055 (patch)
treed42e17a1fcc70151796942461c4b2e73f4f26b54 /Test/54compmatch.ztst
parent48101910bb8404439d056b82b89a6f8c34cfbb32 (diff)
downloadzsh-6d8ec99c3519dce73c86705841254c6b68011055.tar.gz
zsh-6d8ec99c3519dce73c86705841254c6b68011055.tar.xz
zsh-6d8ec99c3519dce73c86705841254c6b68011055.zip
11908: compmatch tests
Diffstat (limited to 'Test/54compmatch.ztst')
-rw-r--r--Test/54compmatch.ztst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/54compmatch.ztst b/Test/54compmatch.ztst
index 07e988f6b..eb7bdddd4 100644
--- a/Test/54compmatch.ztst
+++ b/Test/54compmatch.ztst
@@ -481,5 +481,21 @@
 >line: {tst }{.:}
 >COMPADD:{}
 
+ workers_11586_matcher='r:|.=** r:[^0-9]||[0-9]=**'
+ workers_11586_list=(c00.abc c01.abc.def.00.0)
+ test_code $workers_11586_matcher workers_11586_list
+ comptest $'tst c00\t.\ta\t'
+0:Bug from workers 11586
+>line: {tst c00}{}
+>COMPADD:{}
+>NO:{c00.abc}
+>NO:{c01.abc.def.00.0}
+>line: {tst c00.}{}
+>COMPADD:{}
+>NO:{c00.abc}
+>NO:{c01.abc.def.00.0}
+>line: {tst c00.abc }{}
+>COMPADD:{}
+
 %clean
 exit 0