Welcome on madbean · Aug 27, 2004
java.util.regex.Pattern StackOverflowError's on (x|y)*
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
I’ve been doing a fair whack of regex processing in Java recently. I must admit that having a regex library in the language is very useful, and Java’s java.util.regex.Pattern implements a very complete regex library (all the “Perl5” stuff, non-greedy quantifiers, Unicode character classes, etc). So I was completely surprised when it started throwing StackOverflowError. The…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.