DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=24234>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=24234

Doesn't seem to be a way to use '\' in subst with back_references





------- Additional Comments From [EMAIL PROTECTED]  2004-03-19 17:52 -------
try this:
        r = new RE("[.?]");
        actual = r.subst(".", "\\\\$0",
                         RE.REPLACE_BACKREFERENCES);
        System.err.println(actual);
        assertEquals("Wrong subst() result", "\\.", actual);

        actual = r.subst(".", "\\\\\\$0",
                         RE.REPLACE_BACKREFERENCES);
        System.err.println(actual);
        assertEquals("Wrong subst() result", "\\$0", actual);

Also your changes introduce incompatibility.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to