diff options
author | michelou <michelou@epfl.ch> | 2008-01-22 19:16:00 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-01-22 19:16:00 +0000 |
commit | 602a62d1fb9fd57dc1ca7971c98a3fe88b9801ee (patch) | |
tree | e91ec55038a0ad7614ec68dd8cd26c7ee31659e4 /src/library | |
parent | e45c740e239be4a43dca38f26fd02c29204fa7ae (diff) | |
download | scala-602a62d1fb9fd57dc1ca7971c98a3fe88b9801ee.tar.gz scala-602a62d1fb9fd57dc1ca7971c98a3fe88b9801ee.tar.bz2 scala-602a62d1fb9fd57dc1ca7971c98a3fe88b9801ee.zip |
corrected typo
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/runtime/RichString.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/runtime/RichString.scala b/src/library/scala/runtime/RichString.scala index 322eb8da9c..fdbaf10267 100644 --- a/src/library/scala/runtime/RichString.scala +++ b/src/library/scala/runtime/RichString.scala @@ -169,7 +169,7 @@ final class RichString(val self: String) extends Proxy with RandomAccessSeq[Char @throws(classOf[java.util.regex.PatternSyntaxException]) def split(separators: Array[Char]): Array[String] = { - val re = separators.foldLeft("\\Q")(_+_) + "\\E" + val re = separators.foldLeft("[\\Q")(_+_) + "\\E]" self.split(re) } |