about summary refs log tree commit diff
path: root/Test/D07multibyte.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r--Test/D07multibyte.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 9375dcda4..7f046525a 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -178,6 +178,13 @@
 >3
 ?(eval):1: command not found: hähä=3
 
+  expr='[[ é = [[:IDENT:]] ]]'
+  ( unsetopt posix_identifiers; eval $expr && echo ok unset )
+  ( setopt posix_identifiers;   eval $expr || echo ok set )
+0:Regression test for workers/47745
+>ok unset
+>ok set
+
   foo="Ølaf«Ødd«øpénëd«ån«àpple"
   print -l ${(s.«.)foo}
   ioh="Ἐν ἀρχῇ ἦν ὁ λόγος, καὶ ὁ λόγος ἦν πρὸς τὸν θεόν, καὶ θεὸς ἦν ὁ λόγος."