mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-25 21:40:54 +02:00
Test for matcher fix in 24127
This commit is contained in:
parent
9cfdf38906
commit
5b887fa759
@ -1,5 +1,7 @@
|
||||
2007-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 24128: Test/Y02compmatch.ztst: test for 24127.
|
||||
|
||||
* 24127: Src/Zle/compcore.c, Src/Zle/compmatch.c: fix
|
||||
bug with matcher 'r:|[-./_]=* r:|=* l:|=*' completing
|
||||
where word on command line starts after a "-".
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user