-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
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
Heredocs #6
Comments
mitchellh
added a commit
that referenced
this issue
Aug 21, 2014
Done:
|
Does this work for strings within an array too? I'm trying to use it inside a terraform remote-exec provisioner inline array. |
apparentlymart
added a commit
that referenced
this issue
Sep 9, 2019
These allow the inclusion of arbitrary unicode codepoints (always encoded as UTF-8) using a hex representation. \u expects four digits and can thus represent only characters in the basic multilingual plane. \U expects eight digits and can thus represent all unicode characters, at the cost of being extra-verbose. Since our parser properly accounts for unicode characters (including combining sequences) it's recommended to include them literally (UTF-8 encoded) in source code, but these sequences are useful for explicitly representing non-printable characters that could otherwise appear invisible in source code, such as zero-width modifier characters. This fixes #6.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support heredocs for strings.
The text was updated successfully, but these errors were encountered: