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

Using replaceAll eats backslash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5.4
    • None
    • regular expressions
    • None
    • Opensuse 10.3 on a Dell Vostro 1700

    Description

      When using a replaceAll with a closure, the return value of the replaceAll call is missing the backslashes that were in the parameter.
      The return value of the closure is correct though;
      See testcase attached.

      Attachments

        1. TestCase.groovy
          0.4 kB
          Gilles Durys

        Activity

          People

            paulk Paul King
            gdurys Gilles Durys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: