Java.Util.Regex.Pattern.Compile Method
Returns a compiled form of the given regularExpression, as modified by the given flags.

Syntax

[Android.Runtime.Register("compile", "(Ljava/lang/String;I)Ljava/util/regex/Pattern;", "")]
public static Pattern Compile (string pattern, [Android.Runtime.GeneratedEnum] RegexOptions flags)

See Also

Pattern.CanonEq
Pattern.CaseInsensitive
Pattern.Comments
Pattern.Dotall
Pattern.Literal
Pattern.Multiline
Pattern.UnicodeCase
Pattern.UnixLines

Parameters

regularExpression
Documentation for this section has not yet been entered.
flags
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Util.Regex.PatternSyntaxExceptionif the regular expression is syntactically incorrect.

Remarks

Returns a compiled form of the given regularExpression, as modified by the given flags. See the for more on flags.

[Android Documentation]

Requirements

Namespace: Java.Util.Regex
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1