Java.Util.Regex.RegexOptions Enumeration
Enumerates values returned by several types and taken as a parameter of the Pattern.Compile member.

Syntax

public enum RegexOptions

Remarks

Enumerates values returned by the following: and taken as a parameter of the Pattern.Compile member.

Members

Member NameDescription
CanonEqThis 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.
CaseInsensitiveThis 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).
CommentsThis constant specifies that a Pattern may contain whitespace or comments. Otherwise comments and whitespace are taken as literal characters. Corresponds to (?x).
DotallThis constant specifies that the '.' meta character matches arbitrary characters, including line endings, which is normally not the case. Corresponds to (?s).
LiteralThis constant specifies that the whole Pattern is to be taken literally, that is, all meta characters lose their meanings.
MultilineThis 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).
UnicodeCaseThis 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).
UnixLinesThis 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