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

eta Characters \t \n \r in String Literal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0-beta-8
    • 1.0-beta-8
    • parser
    • None

    Description

      I have tested on groovy-1.0-beta-7.

      println "C:
      test" // The output is not C:\test
      println "C:
      ntest" // The output is not C:\ntest
      println "C:
      rtest" // The output is not C:\rtest
      println "C:
      " // unterminated string literal
      println "C:
      "" // The output is C:\"

      What problem?

      Attachments

        Activity

          People

            Unassigned Unassigned
            phkim Kim, Pilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: