mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
25845: fix pattern but with backslashed and metafied charaters
This commit is contained in:
parent
b4d336aaca
commit
d25c551c2c
1 changed files with 11 additions and 0 deletions
|
|
@ -395,3 +395,14 @@
|
||||||
>OK
|
>OK
|
||||||
>OK
|
>OK
|
||||||
>OK
|
>OK
|
||||||
|
|
||||||
|
mkdir glob
|
||||||
|
mkdir glob/'()Ą' glob/'()Ā'
|
||||||
|
mkdir glob/'()Ą'/foo glob/'()Ā'/bar
|
||||||
|
tmp1=('glob/\(\)Ą/*')
|
||||||
|
print $~tmp1
|
||||||
|
tmp1=('glob/\(\)Ā/*')
|
||||||
|
print $~tmp1
|
||||||
|
0:Backslashes and metafied characters in patterns
|
||||||
|
>glob/()Ą/foo
|
||||||
|
>glob/()Ā/bar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue