groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject Re: About refining regex literal syntax
Date Tue, 23 Oct 2018 01:01:57 GMT
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.

Cheers,
Daniel.Sun



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

Mime
View raw message