We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
It is not clear how to escape closing symbols when multiline syntax is used with ~S sigil. \""" works fine without ~S sigil:
~S
\"""
iex(1)> """ ...(1)> \""" ...(1)> """ |> IO.inspect() |> IO.puts() "\"\"\"\n" """
but not with ~S sigil:
iex(2)> ~S""" ...(2)> \""" ...(2)> """ |> IO.inspect() |> IO.puts() "\\\"\"\"\n" \"""
escaping """ using single \ shouldn't add \ to the output
"""
\
The text was updated successfully, but these errors were encountered:
a618213
Support escaping of terminators in uppercase sigils heredocs for cons…
ffd891a
…istency, closes #11390
No branches or pull requests
Environment
Current behavior
It is not clear how to escape closing symbols when multiline syntax is used with
~S
sigil.\"""
works fine without ~S sigil:but not with ~S sigil:
Expected behavior
escaping
"""
using single\
shouldn't add\
to the outputThe text was updated successfully, but these errors were encountered: