scala/scala-parser-combinators — pull request #4 by pwagland (2013-10-07 22:52:42+00:00)
Title: Stack overflow with JavaTokenParsers.stringLiteral

The regular expression that is used to match stringLiterals cannot match strings longer than about 2500 characters. You might wonder why this would be required, still it isn't possible.

A very minor change to make the regext possessive fixes the problem, and won't cause any regressions, as backtracking is not possible in the regex anyway.