Bug 324 - Pattern Matching with or's isn't correct BugRat Report#589
Summary: Pattern Matching with or's isn't correct BugRat Report#589
Status: CLOSED INVALID
Alias: None
Product: ORO
Classification: Unclassified
Component: Main (show other bugs)
Version: Unknown
Hardware: All All
: P1 normal (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-13 11:28 UTC by Chris Gruwier
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomcat Developers Mailing List 2000-12-13 11:28:41 UTC
consider the pattern (pi)|(.*)
pi yields true                --> correct
blahblah yields true          --> correct
pid yields false              --> bug

perl5 works correctly though
Comment 1 Daniel F. Savarese 2001-06-08 14:08:29 UTC
Reassigning to oro-dev.
Comment 2 Daniel F. Savarese 2001-06-08 14:11:00 UTC
This bug is invalid.  The user is obviously using the matches() method instead
of contains(), in which case the behavior is correct.  Regardless, the alleged
bug cannot be reproduced.
Comment 3 Daniel F. Savarese 2001-06-08 14:12:29 UTC
This bug is closed because it is invalid and cannot be reproduced.  The
reporter should read the documentation for botht he matches() and contains()
methods to understand the difference between them.