DO NOT REPLY [Bug 10718] New: - 'eagerness' of expression matching in perl5 emmulator

[email protected]
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=10718>.
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=10718

'eagerness' of expression matching in perl5 emmulator

           Summary: 'eagerness' of expression matching in perl5 emmulator
           Product: ORO
           Version: 2.0.6
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi. This is not a bug. just wondering if there is a way to set the Perl5Matcher 
to find the shortest possible match to an expression rather then the longest.
eg:
if have a string acbdb and an expression a(.*)b
the match i get is obviously acbdb and not acb. 

is there a way to configure one of the objects to do what i want or do i have 
to use a[^b]*b?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.