Bug 10940

Summary: Infinite loop evaluation
Product: Regexp Reporter: smartgonzo
Component: OtherAssignee: Jakarta Notifications Mailing List <notifications>
Status: CLOSED DUPLICATE    
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description smartgonzo 2002-07-18 09:00:40 UTC
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.
Comment 1 Vadim Gritsenko 2003-05-02 02:04:08 UTC

*** This bug has been marked as a duplicate of 9153 ***