Java.Util.Regex.Pattern Members

The members of Java.Util.Regex.Pattern are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
CanonEqRegexOptions (128). This constant specifies that a character in a Pattern and a character in the input string only match if they are canonically equivalent.
const
CaseInsensitiveRegexOptions (2). This constant specifies that a Pattern is matched case-insensitively.
const
CommentsRegexOptions (4). This constant specifies that a Pattern may contain whitespace or comments.
const
DotallRegexOptions (32). This constant specifies that the '.' meta character matches arbitrary characters, including line endings, which is normally not the case.
const
LiteralRegexOptions (16). This constant specifies that the whole Pattern is to be taken literally, that is, all meta characters lose their meanings.
const
MultilineRegexOptions (8). This constant specifies that the meta characters '^' and '$' match only the beginning and end of an input line, respectively.
const
UnicodeCaseRegexOptions (64). This constant specifies that a Pattern that uses case-insensitive matching will use Unicode case folding.
const
UnixLinesRegexOptions (1). This constant specifies that a pattern matches Unix line endings ('\n') only against the '.', '^', and '$' meta characters.

Public Properties

[read-only]
static
UnicodeCharacterClassint. Documentation for this section has not yet been entered.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Compile(string) : Pattern
Equivalent to Pattern.compile(pattern, 0).
static
Compile(string, RegexOptions) : Pattern
Returns a compiled form of the given regularExpression, as modified by the given flags.
Flags() : RegexOptions
Returns the flags supplied to compile.
InvokePattern() : string
Returns the regular expression supplied to compile.
Matcher(Java.Lang.ICharSequence) : Matcher
Returns a Java.Util.Regex.Matcher for this pattern applied to the given input.
Matcher(string) : Matcher
Documentation for this section has not yet been entered.
static
Matches(string, Java.Lang.ICharSequence) : bool
Tests whether the given regularExpression matches the given input.
static
Matches(string, string) : bool
Documentation for this section has not yet been entered.
static
Quote(string) : string
Quotes the given string using "\Q" and "\E", so that all meta-characters lose their special meaning.
Split(Java.Lang.ICharSequence) : string[]
Equivalent to split(input, 0).
Split(string) : string[]
Documentation for this section has not yet been entered.
Split(Java.Lang.ICharSequence, int) : string[]
Splits the given input at occurrences of this pattern.
Split(string, int) : string[]
Documentation for this section has not yet been entered.