You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-dev@jakarta.apache.org by bu...@apache.org on 2002/08/23 18:07:08 UTC

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

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( )

dfs@apache.org changed:

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



------- Additional Comments From dfs@apache.org  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.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>