mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
fix regex character filter in VersionParts
This commit is contained in:
@@ -57,7 +57,7 @@ object VersionParts extends Properties("VersionParts")
|
||||
private[this] def normS(s: String): String =
|
||||
{
|
||||
val filtered = s filter validChar
|
||||
if(s.isEmpty) "q" else s
|
||||
if(filtered.isEmpty) "q" else filtered
|
||||
}
|
||||
|
||||
// strip whitespace and characters not supported by Pattern
|
||||
|
||||
Reference in New Issue
Block a user