mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
21655: bug in ${..//../${..//../..}}
This commit is contained in:
parent
5e803c0fcf
commit
b0ca393c47
3 changed files with 36 additions and 23 deletions
|
|
@ -604,3 +604,11 @@
|
|||
print "${${foo}/?*/replacement}"
|
||||
0:Quoted zero-length strings are handled properly
|
||||
>
|
||||
|
||||
file=aleftkept
|
||||
print ${file//(#b)(*)left/${match/a/andsome}}
|
||||
print ${file//(#b)(*)left/${match//a/andsome}}
|
||||
0:Substitutions where $match is itself substituted in the replacement
|
||||
>andsomekept
|
||||
>andsomekept
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue