Java.Util.Regex.Pattern.Matches Method
Tests whether the given regularExpression matches the given input.

Syntax

[Android.Runtime.Register("matches", "(Ljava/lang/String;Ljava/lang/CharSequence;)Z", "")]
public static bool Matches (string regex, Java.Lang.ICharSequence input)

See Also

Pattern.Compile(string, Java.Util.Regex.RegexOptions)
Matcher.Matches

Parameters

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

Returns

Documentation for this section has not yet been entered.

Remarks

Tests whether the given regularExpression matches the given input. Equivalent to Pattern.compile(regularExpression).matcher(input).matches(). If the same regular expression is to be used for multiple operations, it may be more efficient to reuse a compiled Pattern.

[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