summary refs log tree commit diff
path: root/Test/Y02compmatch.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Y02compmatch.ztst')
-rw-r--r--Test/Y02compmatch.ztst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/Y02compmatch.ztst b/Test/Y02compmatch.ztst
index abbe51bce..704580043 100644
--- a/Test/Y02compmatch.ztst
+++ b/Test/Y02compmatch.ztst
@@ -667,6 +667,14 @@
 >NO:{aA.bC.cB.dA}
 >NO:{aD.bC.cB.dA}
 
+ users_12227_matcher='r:|[-./_]=* r:|=* l:|=*'
+ users_12227_list=(foo-bar-abc foo-bar-def foo-bar-ghi)
+ test_code $users_12227_matcher users_12227_list
+ comptest $'tst bar\t'
+0:Test for wildcard left anchor with partial word right anchors
+>line: {tst foo-bar-}{}
+>COMPADD:{}
+>INSERT_POSITIONS:{12}
 
 %clean