diff options
author | Martin Odersky <odersky@gmail.com> | 2008-03-17 19:19:13 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-03-17 19:19:13 +0000 |
commit | 1211909cc9c65049d9ad55aaee57e847a79fd041 (patch) | |
tree | adf1a7a83e62c9903425a602e43c164ea80481b9 | |
parent | 86ddfebfbd0ea938d01442b3fc7d65c5d5324be9 (diff) | |
download | scala-1211909cc9c65049d9ad55aaee57e847a79fd041.tar.gz scala-1211909cc9c65049d9ad55aaee57e847a79fd041.tar.bz2 scala-1211909cc9c65049d9ad55aaee57e847a79fd041.zip |
Removed Matchable string, which is no longer ne...
Removed Matchable string, which is no longer necessary for new
collections.
-rw-r--r-- | src/library/scala/util/matching/MatchableString.scala | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/library/scala/util/matching/MatchableString.scala b/src/library/scala/util/matching/MatchableString.scala deleted file mode 100644 index 03f45b2d81..0000000000 --- a/src/library/scala/util/matching/MatchableString.scala +++ /dev/null @@ -1,28 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2007-2008, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.util.matching - -/** This class provides an implicit conversion that allows - * using the matching operator <code>=~</code> on strings. - * - * @author Thibaud Hottelier - * @version 1.0, 15/11/2007 - */ -class MatchableString(s: String) { - /** Returns the first match of this string with the - * provided regular expression. - * - * @param regex the regular expression - * @return the first match - */ - def =~ (regex: Regex): Option[MatchData[String]] = regex.matchFirst(s) -} |