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/07/12 02:03:43 UTC
DO NOT REPLY [Bug 10718] New: -
'eagerness' of expression matching in perl5 emmulator
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: oro-dev@jakarta.apache.org
ReportedBy: wanto_@hotmail.com
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?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>