[
https://issues.apache.org/jira/browse/GROOVY-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464549#comment-17464549
]
Paul King commented on GROOVY-10406:
------------------------------------
But this works:
{code}
assert ($/$$ /$ + 'x' + /$$/) == '$ x$$'
{code}
So, only immediately after a {{$$}} is not working?
> Dollar slashy string is too greedy
> ----------------------------------
>
> Key: GROOVY-10406
> URL: https://issues.apache.org/jira/browse/GROOVY-10406
> Project: Groovy
> Issue Type: Bug
> Components: lexer
> Affects Versions: 3.0.9, 4.0.0-rc-1
> Reporter: Daniil Ovchinnikov
> Priority: Major
> Attachments: screenshot-1.png
>
>
> This code compiles fine in 2.5.14, but fails to compile in 3.0.9.
> {code:groovy}
> println([$/$$/$ : /$$/])
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)