about summary refs log tree commit diff
path: root/Test/D02glob.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/D02glob.ztst')
-rw-r--r--Test/D02glob.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index f250244e7..176846d46 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -792,6 +792,11 @@
 *>*/glob.tmp/(flip|flop)
 *>*/glob.tmp/(flip|flop)/trailing/components
 
+  unsetopt extendedglob
+  print -r -- ${(*)=${(@s.+.):-A+B}/(#b)(?)/-${(L)match[1]} ${match[1]}}
+0:the '*' qualfier enables extended_glob for pattern matching
+>-a A -b B
+
 %clean
 
  # Fix unreadable-directory permissions so ztst can clean up properly