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/07/18 11:00:41 UTC

DO NOT REPLY [Bug 10940] New: - Infinite loop evaluation

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=10940>.
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=10940

Infinite loop evaluation

           Summary: Infinite loop evaluation
           Product: Regexp
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Other
        AssignedTo: regexp-dev@jakarta.apache.org
        ReportedBy: smartgonzo@iname.com


With the following code, the match() method enter in an infinite loop (I guess).

RE re = new RE("^[:alpha:]:[\\\\]([^/\\\\:.|?!*<>][\\\\]?([^/\\\\:|?!*<>]+
[\\\\]?)*)?$");
boolean match = re.match("C:\\jakarta-tomcat-3.2.4
\\webapps\\genericCGEY\\html\\\\worldview.jpe");

I use the last release of regexp (1.2).
I use the JDK 1.3.1.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>