Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.0.7
-
None
Description
The minimal reproducer is the following:
def s1 = $/Failing string\\/$ def s2 = $/Will not be parsed as a new line/$ println s1
A line starting with def s2 will be "swallowed". The result of it is:
Failing string\/$
def s2 = /Will not be parsed as a new line
It looks like \/$ is ignored by the parser and it's continuing until the next "valid" occurence of /$.
It worked in 2.x