The proposal mention double back-ticks for a string containing a back-tick, eg
``can`t`` // a string containing 'c', 'a', 'n', '`' and 't' See http://openjdk.java.net/jeps/8196004 Also they are collecting users feedback, have a look at this link <https://www.surveymonkey.com/r/CJQM2VG>. p On Sat, Feb 24, 2018 at 11:14 AM, Daniel Sun <realblue...@hotmail.com> wrote: > > 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 >