Bug 10940 - Infinite loop evaluation
Summary: Infinite loop evaluation
Status: CLOSED DUPLICATE of bug 9153
Alias: None
Product: Regexp
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC All
: P3 major with 1 vote (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-18 09:00 UTC by smartgonzo
Modified: 2005-01-11 13:48 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***