https://bz.apache.org/bugzilla/show_bug.cgi?id=66468

            Bug ID: 66468
           Summary: Regexp mapper replaces all backslash characters
           Product: Ant
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

The code here
https://github.com/apache/ant/blob/014e94e5d1e289acaf8a4e6e7234662c065d48b2/src/main/org/apache/tools/ant/util/RegexpPatternMapper.java#L133-L161
replaces all "\\X" occurances with "X". The intentional backslash is not
preserved.

On Windows, this may convert paths in the "to" argument from "C:\a\b\c" to
"C:abc"

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to