Skip to content

How to include quotation marks in strings? #462

Answered by refaktor
jaredkrinke asked this question in Q&A
Discussion options

You must be logged in to vote

No apologies needed ... it's never documented concretely ... apologies for that :)

Rye is planned to have similar escape sequences as Go, I just haven't yet made them, so "\"" should work ... I will add it with next update (today or tomorrow).

About multiline strings that also can accept " directly, I've changed it a few times ... Rebol has { }, but that doesn't make sense in Rye where { } is a main block syntax. Currently I have , but I'm not sure about it 100%. At least on our keyboard it's a little cumbersome to type and there is an open problem with multiline strings and indentation. I found solution Zig found for this quite interesting. We will see, it's still an open decision.

// U…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jaredkrinke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants