about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-08-17 23:45:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-08-17 23:45:31 +0000
commitb0ca393c4729decf4c74c23613827eb65333b898 (patch)
treed2b77e1943870a597e7996c269c78317382b5f4d /Test
parent5e803c0fcfd0ee2d570bd8a370b6c312d13189e8 (diff)
downloadzsh-b0ca393c4729decf4c74c23613827eb65333b898.tar.gz
zsh-b0ca393c4729decf4c74c23613827eb65333b898.tar.xz
zsh-b0ca393c4729decf4c74c23613827eb65333b898.zip
21655: bug in ${..//../${..//../..}}
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst8
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
+