groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: About refining regex literal syntax
Date Wed, 24 Oct 2018 17:32:20 GMT
On 23.10.2018 03:01, Daniel Sun wrote:
> Hi  Guillaume,
> 
>          Groovy has multiline version for regex already, i.e. `$/.../$`, so
> `/.../` also supporting is redundant IMHO ;-)
>   
>          Similarly, `"..."` and `'...'` have their multline versions, i.e.
> `'''...'''` and `"""..."""`, so they just support single line.
> 
>          P.S. `"..."` and `'...'` support multiline in Parrot, it is actually
> a bug and fixed last week.

Is there actually a technical need to limit the " and ` version to be 
single line?

bye Jochen

Mime
View raw message