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

"string".count('') fails

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 2.1.0-rc-1, 1.8.9, 2.0.7
    • groovy-jdk
    • Linux x64

    Description

      String.count() fails when passed an empty string.

      Using 2.0.2 at the moment so haven't tried with other versions.

      Attachments

        Activity

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

          People

            paulk Paul King
            james.frost James Frost
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment