diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-01 17:16:43 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-08-01 17:16:43 +0000 |
| commit | 1e7c19eca344f45b0f938066882c6aba4d2b9862 (patch) | |
| tree | af71a26cfefa79d50edb9765cd04b2ec8088b27e /Test/D04parameter.ztst | |
| parent | 22572: use of (#m) was broken with pure strings (diff) | |
| download | zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar.gz zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar.bz2 zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar.lz zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar.xz zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.tar.zst zsh-1e7c19eca344f45b0f938066882c6aba4d2b9862.zip | |
22572: use of (#m) was broken with pure strings
Diffstat (limited to 'Test/D04parameter.ztst')
| -rw-r--r-- | Test/D04parameter.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 6e97d7450..5d48328ed 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -824,6 +824,11 @@ >MATCH 16 20 MATCH >5 + string='this is a string' + print ${string//(#m)s/$MATCH $MBEGIN $MEND} +0:(#m) flag with pure string +>this 4 4 is 7 7 a s 11 11tring + print -l JAMES${(u)${=:-$(echo yes yes)}}JOYCE print -l JAMES${(u)${=:-$(echo yes yes she said yes i will yes)}}JOYCE 0:Bug with (u) flag reducing arrays to one element |
