diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-02-20 16:46:00 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-02-20 17:22:33 -0800 |
commit | 80362f9fc2dfa1c9d5560ad2aa8b2eef320e5fd6 (patch) | |
tree | 97a955f7778dfd4fc01b758d4d62cf35beb692e3 /test/files/run/seqlike-kmp.scala | |
parent | 178e8df9b6a91375a6162721a0cbc2d90bcc7451 (diff) | |
download | scala-80362f9fc2dfa1c9d5560ad2aa8b2eef320e5fd6.tar.gz scala-80362f9fc2dfa1c9d5560ad2aa8b2eef320e5fd6.tar.bz2 scala-80362f9fc2dfa1c9d5560ad2aa8b2eef320e5fd6.zip |
SI-9167 Clarify ScalaVersion parsing
Probably it was unintended to accept "2.." and "2.-11.7".
This commit makes it a bit more regular and also accepts arbitrary
text after the dash in the build string, including newlines.
Since the number parts must be numbers, accept only digits.
That also disallows "2.+11.7", which could be misconstrued as
some sort of range.
As before, the special build string prefixes "rc" and "m" are
case-insensitive, but "FINAL" is not.
Diffstat (limited to 'test/files/run/seqlike-kmp.scala')
0 files changed, 0 insertions, 0 deletions