diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-09 17:25:12 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-09 17:25:12 -0800 |
commit | cc9402b0d639dd5d9ac0b468b49a3ef7c2d80d39 (patch) | |
tree | 3e7a3e86d2e842fce7ed0c6be36509b82f4ae85b /src/library | |
parent | 9038fe66959446787f92dc4e5dfaf9127bdab8c5 (diff) | |
parent | cbe136c4bf1297adca28d9ad59c5aa0e5efea195 (diff) | |
download | scala-cc9402b0d639dd5d9ac0b468b49a3ef7c2d80d39.tar.gz scala-cc9402b0d639dd5d9ac0b468b49a3ef7c2d80d39.tar.bz2 scala-cc9402b0d639dd5d9ac0b468b49a3ef7c2d80d39.zip |
Merge pull request #3470 from demobox/si-8215-follow-up
SI-8215: Correcting typo and splitting a long sentence in MatchIterator doc
Diffstat (limited to 'src/library')
-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]] */ |