Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10406

Dollar slashy string is too greedy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.9, 4.0.0-rc-1
    • 4.0.0-rc-2
    • lexer
    • None

    Description

      This code compiles fine in 2.5.14, but fails to compile in 3.0.9.

      println([$/$$/$ : /$$/])
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            daniel_sun Daniel Sun
            daniilo Daniil Ovchinnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment