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

"string".count('') fails

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: