We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should not stringLiteral parser be like this:
("\""+"""([^"\p{Cntrl}\\]|\\[\\/bfnrt"]|\\u[a-fA-F0-9]{4})*"""+"\"").r
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-4138?orig=1 Reporter: Martins (martins)
Sorry, something went wrong.
@lindydonna said: Lukas, can you verify the proposed change is correct?
@lindydonna said: What is the difference here? What parses and doesn't parse? We need to a way to verify the proposed fix.
Eric Bowman (ebowman) said: I ran into this trying to parse a string like:
"for all good "men" to come to the aid of their country"
I ended up overriding stringLiteral and doing exactly what the original report suggested; I concur, this is a bug, and the fix is quite safe.
@lrytz said: fixed in [https://github.com/scala/scala/commit/800bdf81228cf10e6c93ae39030f9edfae96c679]
lrytz
No branches or pull requests
Should not stringLiteral parser be like this:
The text was updated successfully, but these errors were encountered: