b***@apache.org
2007-12-31 14:51:24 UTC
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=44154>.
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=44154
Summary: Error while using Perl5Util.substitute() method if it
has "/" character.
Product: ORO
Version: Unknown
Platform: Other
OS/Version: other
Status: NEW
Severity: critical
Priority: P2
Component: Main
AssignedTo: oro-***@jakarta.apache.org
ReportedBy: ***@yahoo.co.in
Hi Experts,
Iam facing an issue in one of my java applications.
We are using Java tool to update the information from frontend.
If the notes contain "/" slash character, application is throwing the below
error :
org.apache.oro.text.perl.MalformedPerl5PatternException: Invalid option: N
at org.apache.oro.text.perl.Perl5Util.substitute(Unknown Source)..
body = substituteWith(util, body, "Notes", notes);
protected static String substituteWith(Perl5Util util, String b, String c,
String v) {
return util.substitute("s/#" + c + "#/" + (v != null ?
v : " ") + "/g", b);
}
Any pointers on this issue or its an identified bug.
Thanks in Advance!
Wish You A HAPPY NEW YEAR !!!
Thanks & Regards,
Satya Sai
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44154>.
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=44154
Summary: Error while using Perl5Util.substitute() method if it
has "/" character.
Product: ORO
Version: Unknown
Platform: Other
OS/Version: other
Status: NEW
Severity: critical
Priority: P2
Component: Main
AssignedTo: oro-***@jakarta.apache.org
ReportedBy: ***@yahoo.co.in
Hi Experts,
Iam facing an issue in one of my java applications.
We are using Java tool to update the information from frontend.
If the notes contain "/" slash character, application is throwing the below
error :
org.apache.oro.text.perl.MalformedPerl5PatternException: Invalid option: N
at org.apache.oro.text.perl.Perl5Util.substitute(Unknown Source)..
body = substituteWith(util, body, "Notes", notes);
protected static String substituteWith(Perl5Util util, String b, String c,
String v) {
return util.substitute("s/#" + c + "#/" + (v != null ?
v : " ") + "/g", b);
}
Any pointers on this issue or its an identified bug.
Thanks in Advance!
Wish You A HAPPY NEW YEAR !!!
Thanks & Regards,
Satya Sai
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.