RegexHelperIsMatch Method (String, String) | 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 )
Public Shared Function IsMatch ( input As String, pattern As String ) As Boolean
public: static bool IsMatch( String^ input, String^ pattern )
static member IsMatch : input : string * pattern : string -> bool
Parameters
- input
- Type: SystemString
输入字符串 - pattern
- Type: SystemString
模式字符串
Return Value
Type: Boolean[Missing <returns> documentation for "M:HD.Common.RegexHelper.IsMatch(System.String,System.String)"]
See Also