diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-09-16 20:51:27 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-09-16 20:51:27 -0700 |
commit | 1becbba0b614c9ef17ba28aa51c4e8e7d21f1e0f (patch) | |
tree | 96a6d596b51ef4917ea24b9fd6214cd360831c9a /Test | |
parent | f72757ccf30610fe8fdd1ed76d080971f767edaf (diff) | |
download | zsh-1becbba0b614c9ef17ba28aa51c4e8e7d21f1e0f.tar.gz zsh-1becbba0b614c9ef17ba28aa51c4e8e7d21f1e0f.tar.xz zsh-1becbba0b614c9ef17ba28aa51c4e8e7d21f1e0f.zip |
users/29160, workers/52156: Fix repetition of substitution modifier.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 83f0371a1..363846f5c 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -561,12 +561,14 @@ foo=(one.c two.c three.c) print ${foo:s/#%(#b)t(*).c/T${match[1]}.X/} print *(#q:s/#(#b)tmp(*e)/'scrunchy${match[1]}'/) + print ${${:-"left[({})]over"}:fs/(\\{\\}|\\(\\)|\\[\\])//} unsetopt histsubstpattern 0:HIST_SUBST_PATTERN option >TINGcd TINGfile1 TINGfile2 homedir >THUMPcd THUMPfile1 THUMPfile2 >one.c Two.X Three.X >homedir scrunchyfile1 scrunchyfile2 tmpcd +>leftover setopt ignorebraces echo X{a,b}Y |