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 2004/03/15 16:46:29 UTC

DO NOT REPLY [Bug 27670] New: - Endless loop in RE.match

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27670>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27670

Endless loop in RE.match

           Summary: Endless loop in RE.match
           Product: Regexp
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: regexp-dev@jakarta.apache.org
        ReportedBy: golanavi@hotmail.com


Hi,
The following code causes endless loop on version 1.3:

org.apache.regexp.RE regExp = 
new org.apache.regexp.RE("^([A-Z|0-9|_]{1,28})_[H|T|D]$");
boolean b = regExp.match("AA_OSST_12345_678_BT");

Should return false in this case.

---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-dev-help@jakarta.apache.org