[Swift-devel] [Bug 148] New: regexp mapper substitution doesn't work properly

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Mon Jun 30 20:38:54 CDT 2008


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=148

           Summary: regexp mapper substitution doesn't work properly
           Product: Swift
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
        AssignedTo: hategan at mcs.anl.gov
        ReportedBy: hategan at mcs.anl.gov


The following produces an error:
...
countfile c<regexp_mapper;source=@inputfile,match="(.*)in",transform="\1out">;
...

Namely: Could not compile SwiftScript source: line x:72: unexpected char: '1'

This is probably introduced by the "\" escaping scheme added at some point.

Using countfile 
...
c<regexp_mapper;source=@inputfile,match="(.*)in",transform="\\1out">;
...

does not produce an error, but the transformed name has a backslash prefixed.


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are the assignee for the bug, or are watching the assignee.



More information about the Swift-devel mailing list