RegexHelper.IsMatch Method (String, String, RegexOptions)

HD.Common

RegexHelperIsMatch Method (String, String, RegexOptions) Helper帮助文档
验证输入字符串是否与模式字符串匹配,匹配返回true

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool IsMatch(
	string input,
	string pattern,
	RegexOptions options
)
Public Shared Function IsMatch ( 
	input As String,
	pattern As String,
	options As RegexOptions
) As Boolean
public:
static bool IsMatch(
	String^ input, 
	String^ pattern, 
	RegexOptions options
)
static member IsMatch : 
        input : string * 
        pattern : string * 
        options : RegexOptions -> bool 

Parameters

input
Type: SystemString
输入的字符串
pattern
Type: SystemString
模式字符串
options
Type: System.Text.RegularExpressionsRegexOptions
筛选条件

Return Value

Type: Boolean

[Missing <returns> documentation for "M:HD.Common.RegexHelper.IsMatch(System.String,System.String,System.Text.RegularExpressions.RegexOptions)"]

See Also

Reference