DO NOT REPLY [Bug 11976] - Missing functionality in Perl5Util.substitute( )

[email protected]
Newsgroups gmane.comp.jakarta.oro.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11976>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11976

Missing functionality in Perl5Util.substitute( )

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [email protected]  2002-08-23 16:07 -------
This is not a bug. You need to use one more escape:

  public static final void main(String args[]) {
    Perl5Util perl = new Perl5Util();
    String input = "foo\\nbar\\nbaz\\n";

    System.out.print(perl.substitute("s/\\\\n/\n/g", input));
    System.out.flush();
  }

Please follow the instructions at http://jakarta.apache.org/oro/bugs.html
before reporting a bug.  It is a lot less time consuming to answer an email
to correct user error than it is to invalidate and close invalid bugs.  The
bug tracking system is for feature requests and real bugs.  It is not an
excuse to bypass the user support system (i.e., the oro-user mailing list).
Please see http://jakarta.apache.org/site/mail.html for instructions on how
to subscribe.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.