diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-17 23:45:31 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-17 23:45:31 +0000 |
commit | b0ca393c4729decf4c74c23613827eb65333b898 (patch) | |
tree | d2b77e1943870a597e7996c269c78317382b5f4d /Test | |
parent | 5e803c0fcfd0ee2d570bd8a370b6c312d13189e8 (diff) | |
download | zsh-b0ca393c4729decf4c74c23613827eb65333b898.tar.gz zsh-b0ca393c4729decf4c74c23613827eb65333b898.tar.xz zsh-b0ca393c4729decf4c74c23613827eb65333b898.zip |
21655: bug in ${..//../${..//../..}}
Diffstat (limited to 'Test')
-rw-r--r-- | Test/D04parameter.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 7f2ed4670..7a6254300 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -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 + |