XPath2Functions.Matches Method (string, string, string)XPath2Functions.Matches Method (String, String, String)XPath2Functions::Matches Method (String^, String^, String^)

Implementation of the fn:matches function.

Syntax

Public Shared Function Matches( _
    input As String, _
    pattern As String, _
    flags As String _
) As Boolean
public static bool Matches(
    string input,
    string pattern,
    string flags
)
public:
static bool Matches(
    String^ input, 
    String^ pattern, 
    String^ flags
)
 

Parameters

input

Type: System.StringSystem.StringSystem::String^

The input string.

pattern

Type: System.StringSystem.StringSystem::String^

The regular expression pattern to match.

flags

Type: System.StringSystem.StringSystem::String^

The flags influencing the match.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

The value of the function.