about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2023-02-06 14:16:17 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2023-02-06 14:16:17 +0000
commitd6b027c3c1203da5f3c6451bd6e2e0b81bd766b6 (patch)
tree253121684572803fca6cca5c21fb503f50df98ed /Test/D04parameter.ztst
parentbffdbccda69683ce857dfad457e3209c0f00aa0c (diff)
downloadzsh-d6b027c3c1203da5f3c6451bd6e2e0b81bd766b6.tar.gz
zsh-d6b027c3c1203da5f3c6451bd6e2e0b81bd766b6.tar.xz
zsh-d6b027c3c1203da5f3c6451bd6e2e0b81bd766b6.zip
51350: ${(S)...//#%...} didn't match the whole string
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r--Test/D04parameter.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index a11652d1e..7990c2958 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2307,6 +2307,13 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
 >x
 >y
 
+  a="string"
+  print ${(S)a//#%((#b)(*))/different}
+  print $match[1]
+0:Fully anchored string must be fully searched
+>different
+>string
+
   my_width=6
   my_index=1
   my_options=Option1