Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: matcher-list question
- X-seq: zsh-workers 24128
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh Hackers List <zsh-workers@xxxxxxxxxx>
- Subject: Re: matcher-list question
- Date: Wed, 28 Nov 2007 21:28:53 +0000
- In-reply-to: <20071128204709.fef5e18e.p.w.stephenson@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071119160702.GB29766@xxxxxxxxx> <20071127084203.GA4034@xxxxxxxxx> <200711270956.lAR9ur36020646@xxxxxxxxxxxxxx> <20071127215845.bda5b747.p.w.stephenson@xxxxxxxxxxxx> <20071128204709.fef5e18e.p.w.stephenson@xxxxxxxxxxxx>
On Wed, 28 Nov 2007 20:47:09 +0000
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> No guarantees, but I think the following has a chance of fixing the
> problem without side effects.
Here's a test.
Index: Test/Y02compmatch.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/Y02compmatch.ztst,v
retrieving revision 1.3
diff -u -r1.3 Y02compmatch.ztst
--- Test/Y02compmatch.ztst 11 Mar 2004 19:14:42 -0000 1.3
+++ Test/Y02compmatch.ztst 28 Nov 2007 21:27:59 -0000
@@ -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
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author