diff options
author | stepancheg <stepancheg@epfl.ch> | 2008-09-11 10:39:02 +0000 |
---|---|---|
committer | stepancheg <stepancheg@epfl.ch> | 2008-09-11 10:39:02 +0000 |
commit | 6402af9e5d90af5219b90ea08f007b7336cefefa (patch) | |
tree | 3f7831338be25757889540fda4a2af953e69a1b8 | |
parent | b9232781f413056eadae65fb19bbfc6d514f39d2 (diff) | |
download | scala-6402af9e5d90af5219b90ea08f007b7336cefefa.tar.gz scala-6402af9e5d90af5219b90ea08f007b7336cefefa.tar.bz2 scala-6402af9e5d90af5219b90ea08f007b7336cefefa.zip |
note about switching flags like CASE_INSENSITIV...
note about switching flags like CASE_INSENSITIVE or UNICODE_CASE
-rw-r--r-- | src/library/scala/util/matching/Regex.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/library/scala/util/matching/Regex.scala b/src/library/scala/util/matching/Regex.scala index 56c90f1073..fbb525b0e8 100644 --- a/src/library/scala/util/matching/Regex.scala +++ b/src/library/scala/util/matching/Regex.scala @@ -16,6 +16,12 @@ import java.util.regex.{Pattern, Matcher} /** This class provides methods for creating and using regular expressions. * It is based on the regular expressions of the JDK since 1.4. * + * <p> + * You can use special pattern syntax construct <code>(?idmsux-idmsux)</code> to switch + * various regex compilation options like <code>CASE_INSENSITIVE</code> or <code>UNICODE_CASE</code>. + * See <code>java.util.regex.Pattern</code> javadoc for details. + * </p> + * * @author Thibaud Hottelier * @author Philipp Haller * @author Martin Odersky |