[]
        
(Showing Draft Content)

C1.Win.Input.Validation.PreValidation.MatchRegex

MatchRegex Method

MatchRegex(string, ErrorInfo)

Returns True if the input text matches the regular expression pattern specified in PatternString.

Declaration
public bool MatchRegex(string text, ErrorInfo errorInfo)
Parameters
Type Name Description
string text

The input string to match.

ErrorInfo errorInfo

Error information filled in case of failure.

Returns
Type Description
bool