Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: another matching test case.



Here's another testcase for the matching test based on a problem I reported
that's already been fixed.  

-FR.


__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
Index: zsh/Test/54compmatch.ztst
===================================================================
--- zsh/Test/o54compmatch.ztst	Wed May 17 05:31:32 2000
+++ zsh/Test/54compmatch.ztst	Wed Jun 14 21:46:01 2000
@@ -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


Messages sorted by: Reverse Date, Date, Thread, Author