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/01/14 17:01:21 UTC
DO NOT REPLY [Bug 5838] New: -
perl regexp bug
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=5838>.
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=5838
perl regexp bug
Summary: perl regexp bug
Product: ORO
Version: 2.0.4
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Main
AssignedTo: oro-dev@jakarta.apache.org
ReportedBy: cao@ispsoft.com
I'm using this code to match "abc" against "ab|abc". it returns false.
PatternCompiler compiler = new Perl5Compiler();
PatternMatcher matcher = new Perl5Matcher();
Pattern pattern = compiler.compile("ab|abc");
return matcher.matches("abc", pattern);
I believe it's a bug.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>