Please see bug reports 5055 and 3561 and the associated commentary.
I've included the comments for 5055:

This is not a bug.  Perl does the same thing, only that it is better
about growing the stack size as necessary than Java.  Alternations
are inherently recursive in nature.  The solution is either to use
a larger stack size for your JVM or, preferably, to use a more
efficient regular expression (don't ever use (.|\n) when . and
SINGLELINE_MASK will do).  Search the email archives (keyword alternation)
for a discussion of why this isn't a bug.  Also refer to 
Bug Report 3561 for related commentary.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to