diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-01-26 14:03:19 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-01-26 14:03:19 +0000 |
commit | 6975d16800499815a07c80c6d4fe85c2de693d96 (patch) | |
tree | afeb3ce8d1975e54b3d73afe18afccbfbf47b8a6 /test/files/run/ReplacementMatching.scala | |
parent | d90d03d55acc133a6cc3700ab0ce9296410fe5fe (diff) | |
download | scala-6975d16800499815a07c80c6d4fe85c2de693d96.tar.gz scala-6975d16800499815a07c80c6d4fe85c2de693d96.tar.bz2 scala-6975d16800499815a07c80c6d4fe85c2de693d96.zip |
Access modifiers added for certain members and ...
Access modifiers added for certain members and some refactoring in
Regex.
Diffstat (limited to 'test/files/run/ReplacementMatching.scala')
-rw-r--r-- | test/files/run/ReplacementMatching.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/ReplacementMatching.scala b/test/files/run/ReplacementMatching.scala index 64a912392b..30c525b63c 100644 --- a/test/files/run/ReplacementMatching.scala +++ b/test/files/run/ReplacementMatching.scala @@ -15,7 +15,7 @@ object Test { def replacementMatching { val regex = """\$\{(.+?)\}""".r - val replaced = regex.replaceAllMatchDataIn("Replacing: ${main}. And another method: ${foo}.", + val replaced = regex.replaceAllMatchesIn("Replacing: ${main}. And another method: ${foo}.", (m: util.matching.Regex.Match) => { val identifier = m.group(1) identifier |