Enumerates values returned by several types and taken as a parameter of the
Pattern.Compile member.
Syntax
public enum RegexOptions
Remarks
Members
Member Name | Description |
---|
CanonEq | This constant specifies that a character in a Pattern and a
character in the input string only match if they are canonically
equivalent. It is (currently) not supported in Android.
|
CaseInsensitive | This constant specifies that a Pattern is matched
case-insensitively. That is, the patterns "a+" and "A+" would both match
the string "aAaAaA". See Pattern.UnicodeCase. Corresponds to (?i).
|
This constant specifies that a Pattern may contain whitespace or
comments. Otherwise comments and whitespace are taken as literal
characters. Corresponds to (?x).
|
Dotall | This constant specifies that the '.' meta character matches arbitrary
characters, including line endings, which is normally not the case.
Corresponds to (?s).
|
Literal | This constant specifies that the whole Pattern is to be taken
literally, that is, all meta characters lose their meanings.
|
Multiline | This constant specifies that the meta characters '^' and '$' match only
the beginning and end of an input line, respectively. Normally, they
match the beginning and the end of the complete input. Corresponds to (?m).
|
UnicodeCase | This constant specifies that a Pattern that uses case-insensitive matching
will use Unicode case folding. On Android, UNICODE_CASE is always on:
case-insensitive matching will always be Unicode-aware. If your code is intended to
be portable and uses case-insensitive matching on non-ASCII characters, you should
use this flag. Corresponds to (?u).
|
UnixLines | This constant specifies that a pattern matches Unix line endings ('\n')
only against the '.', '^', and '$' meta characters. Corresponds to (?d).
|
Requirements
Namespace: Java.Util.Regex
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0