Bug 47876 - Glob Expression
Summary: Glob Expression
Status: CLOSED INVALID
Alias: None
Product: ORO
Classification: Unclassified
Component: Main (show other bugs)
Version: Unknown
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-19 06:22 UTC by amar.hussain
Modified: 2009-09-19 17:37 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amar.hussain 2009-09-19 06:22:16 UTC
Using the Demonstration Applet http://jakarta.apache.org/oro/demo.html

If you:

1: choose Glob Expression
2: Then in the first text area exter text "input*"
3: choose contains()
4: Then in the Search Input text area exter text: 

someAAAinput
someBBBinput

The search results is:

Compiling regular expression.

Searching

Match 1: input
Match 2: input

The input contained 2 matches.

This seems like a bug to me.
Comment 1 Daniel F. Savarese 2009-09-19 17:36:20 UTC
To obtain the behavior you desire call Perl5Matcher.setMultiline with an argument of true prior to performing your matches.  If you don't know how to use the software, please post a question to the oro-user mailing list first before opening a bug report.