bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/25616] Unexpected java.util.regex.PatternSyntaxException:


From: kaz at maczuka dot gcd dot org
Subject: [Bug classpath/25616] Unexpected java.util.regex.PatternSyntaxException: repeated token may be empty
Date: 2 Jan 2006 00:53:13 -0000


------- Comment #3 from kaz at maczuka dot gcd dot org  2006-01-02 00:53 -------
Simply omitting the repeat.empty.token check during the regexp compilation
causes OutOfMemoryError.

In fact, an empty token matches an empty string infinite times.

If we are to omit the repeat.empty.token check, we will have to
take measures against the infinite loop at matching time.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25616





reply via email to

[Prev in Thread] Current Thread [Next in Thread]