1
0
Fork 0
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:
Peter Stephenson 2005-08-17 23:45:31 +00:00
parent 5e803c0fcf
commit b0ca393c47
3 changed files with 36 additions and 23 deletions

View file

@ -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