You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-dev@jakarta.apache.org by bu...@apache.org on 2002/11/19 18:36:59 UTC
DO NOT REPLY [Bug 14689] New: -
Wrong treatment of extremely simple regular expression
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=14689>.
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=14689
Wrong treatment of extremely simple regular expression
Summary: Wrong treatment of extremely simple regular expression
Product: Regexp
Version: unspecified
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Other
AssignedTo: regexp-dev@jakarta.apache.org
ReportedBy: robert.rodewald@kopsis.com
The extremely simple regular expression "^\w{0,5}$" will compile but instead of
matching "", "aaa" and not "aaaaaa" it doesn't match "" and matches "aaaaaa"
instead. This is a problem that only occurs when the lower boundary is zero. In
this case both boundaries are increased by 1. This is totally different from
what any regular expression package I know does.
Robert
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>