about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-06-12 02:31:21 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-06-12 02:31:21 +0000
commit9240e11a2d583367368666bc88f64cdd0ced96e3 (patch)
treee6b5091f1f2610eade7cbc306201352dfb08aa92 /Test
parentef55344837946062978ced0dd23cf549927d94da (diff)
downloadzsh-9240e11a2d583367368666bc88f64cdd0ced96e3.tar.gz
zsh-9240e11a2d583367368666bc88f64cdd0ced96e3.tar.xz
zsh-9240e11a2d583367368666bc88f64cdd0ced96e3.zip
Merge of 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 6623ebd24..3ad19368d 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -638,3 +638,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
+