diff options
author | Andrew Phillips <demobox1@yahoo.co.uk> | 2014-02-05 19:27:40 +0000 |
---|---|---|
committer | Andrew Phillips <demobox1@yahoo.co.uk> | 2014-02-05 19:27:40 +0000 |
commit | cbe136c4bf1297adca28d9ad59c5aa0e5efea195 (patch) | |
tree | a1661b7e3f03fe2cb5f038685ca894f23ff23b9b /src/library/scala/util/matching/Regex.scala | |
parent | 852a79285d832fae3e756d6bf21fee51e5baf6ef (diff) | |
download | scala-cbe136c4bf1297adca28d9ad59c5aa0e5efea195.tar.gz scala-cbe136c4bf1297adca28d9ad59c5aa0e5efea195.tar.bz2 scala-cbe136c4bf1297adca28d9ad59c5aa0e5efea195.zip |
SI-8215: Correcting typo and splitting a long sentence in MatchIterator doc
Follow-up to 9c0ca62
Diffstat (limited to 'src/library/scala/util/matching/Regex.scala')
-rw-r--r-- | src/library/scala/util/matching/Regex.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/library/scala/util/matching/Regex.scala b/src/library/scala/util/matching/Regex.scala index b70426a145..6743b9e42a 100644 --- a/src/library/scala/util/matching/Regex.scala +++ b/src/library/scala/util/matching/Regex.scala @@ -647,9 +647,10 @@ object Regex { /** A class to step through a sequence of regex matches. * * All methods inherited from [[scala.util.matching.Regex.MatchData]] will throw - * an [[java.lang.IllegalStateException]] until the matcher is initialized by - * calling `hasNext` or `next()` or causing these methods to be called, such as - * by invoking `toString` or iterating through the iterator's elements. + * a [[java.lang.IllegalStateException]] until the matcher is initialized. The + * matcher can be initialized by calling `hasNext` or `next()` or causing these + * methods to be called, such as by invoking `toString` or iterating through + * the iterator's elements. * * @see [[java.util.regex.Matcher]] */ |