mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-22 00:11:30 +02:00
unposted (cribbed from users/28784 by Roman): Add XFail tests for substituting a single-quoting backslash.
This commit is contained in:
parent
f264fcde80
commit
096e72ce78
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2023-01-27 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted (cribbed from users/28784 by Roman):
|
||||
Test/D04parameter.ztst: Add XFail tests for substituting a
|
||||
single-quoting backslash.
|
||||
|
||||
2023-01-27 Shohei YOSHIDA <syohex@gmail.com>
|
||||
|
||||
* 51330: Completion/Unix/Command/_python: Update python3
|
||||
|
|
|
@ -2727,3 +2727,18 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
|
|||
1:parameter expansion flags parsing error gives a clue
|
||||
?(eval):1: error in flags near position 7 in '${(zZ+x+):-}'
|
||||
|
||||
slash='/'
|
||||
print -r -- x${slash/'/'}y
|
||||
-Df:(users/28784) substituting a single-quoted backslash, part #1: slash
|
||||
>xy
|
||||
|
||||
single_quote="'"
|
||||
print -r -- x${single_quote/'/'}y
|
||||
-Df:(users/28784) substituting a single-quoted backslash, part #2: single quote
|
||||
>x/y
|
||||
|
||||
control="foobar"
|
||||
print -r -- x${control/'bar'}y
|
||||
0:(users/28784 inspired this) substituting a single-quoted backslash, part #3: control
|
||||
>xfooy
|
||||
|
||||
|
|
Loading…
Reference in a new issue