DO NOT REPLY [Bug 26892] New: - Javadoc clarifications
[email protected] 12 Feb 2004 15:33:12 -0000
| 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=26892>.
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=26892
Javadoc clarifications
Summary: Javadoc clarifications
Product: ORO
Version: 2.0.8
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
The Javadoc has some bugs:
http://jakarta.apache.org/oro/api/org/apache/oro/text/perl/Perl5Util.html
has an example which includes the following:
while((line = input.readLine()) != null) {
if(util.match("/HREF=\"description1.html\"/")) {
However, match() requires 2 parameters, it should read:
if(util.match("/HREF=\"description1.html\"/",line) {
===
Also:
http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/Perl5Compiler.html
refers to a parameter as "pattern - A Perl5 regular expression to compile". It
would be useful to compare this with the pattern parameter used by
Perl5Util.match...