We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When interpolating something into a string, patterns like '"' (single quote, double quote, single quote) can terminate the interpolated string.
'"'
$"('"')"
In interactive mode, nushell asks for more input. In non-interactive mode nushell errors out with:
Error: nu::parser::unexpected_eof × Unexpected end of code. ╭─[/tmp/test.nu:2:1] 1 │ $"('"')" ╰────
Adding a ' to the end ($"('"')"') results in the output ""'.
'
$"('"')"'
""'
Output: "
"
No response
The text was updated successfully, but these errors were encountered:
Yep, that doesn't seem right. Will have to look at the parse tree.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
When interpolating something into a string, patterns like
'"'
(single quote, double quote, single quote) can terminate the interpolated string.How to reproduce
$"('"')"
In interactive mode, nushell asks for more input.
In non-interactive mode nushell errors out with:
Adding a
'
to the end ($"('"')"'
) results in the output""'
.Expected behavior
Output:
"
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: