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
It was requested to disallow at compile time:
val r = "(\\d+)".r; List(1) collect { case r(i) => i }
Regex.unapplySeq silently ignores anything that is not CharSequence or Match.
Discussion: https://groups.google.com/forum/?fromgroups=#!topic/scala-user/F2vuVhxo_X8
Regex has always unapplied Any, so there may be a countervailing use case.
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6406?orig=1 Reporter: @som-snytt Affected Versions: 2.11.0-M1 See #8022
Sorry, something went wrong.
@som-snytt said: scala/scala#1369
@adriaanm said: method brought back with correct deprecation version in scala/scala#2519
som-snytt
No branches or pull requests
It was requested to disallow at compile time:
Regex.unapplySeq silently ignores anything that is not CharSequence or Match.
Discussion:
https://groups.google.com/forum/?fromgroups=#!topic/scala-user/F2vuVhxo_X8
Regex has always unapplied Any, so there may be a countervailing use case.
The text was updated successfully, but these errors were encountered: