Quotes inside interpolations can terminate the interpolated string #12722
Labels
🐛 bug
Something isn't working
investigate
this requires investigation
parser
Issues related to parsing
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: