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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to