groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
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`

Cheers,
Daniel.Sun




--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message