groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <>
Subject Re: Java raw string literals
Date Sat, 24 Feb 2018 10:14:17 GMT
>  the main difference of the new Java proposal is that the Raw string
literals do not perform any escape of special characters e.g. `hello\nworld`
would *not* contain a new-line character but exactly back-slash followed by
a `n`. 

OK. We should avoid escaping too in Groovy. I wonder whether raw string
supports escaping backtick? e.g. `I\`m Daniel`


Sent from:

View raw message