groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <>
Subject Re: [Proposal] GString is implemented eager and treated as normal String since groovy 3.0.0
Date Tue, 11 Sep 2018 13:01:37 GMT
I fear this thread is going off topic, however the groovy support for raw
strings was already discussed in another thread some weeks ago.

Cheers, p


On Tue, Sep 11, 2018 at 1:16 PM Jochen Theodorou <> wrote:

> Am 11.09.2018 um 12:16 schrieb Paolo Di Tommaso:
> > I mean that’s syntax for raw strings does not support variable
> > interpolation. My understanding is that groovy won't either.
> we have actually 4 multiline string variants, of which 1 is not
> supporting variable interpolation
> What the Java version does and we not, is having no interpolation for
> escapes. We have the dollar-slashy-string to have a different escape
> symbol, but without escapes (raw strings) is nothing we have.
> And actually I don't think we need raw string literals in Groovy at
> all... but that might be because I do not see good use for them beyond
> regular expressions, and for those we have a solution in Groovy already.
> bye Jochen

View raw message