about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-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