HelperIsValidRegexValue Method (String, String) |
Validates specified value with the specified regular expression.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static bool IsValidRegexValue(
string pattern,
string value
)
Public Shared Function IsValidRegexValue (
pattern As String,
value As String
) As Boolean
public:
static bool IsValidRegexValue(
String^ pattern,
String^ value
)
static member IsValidRegexValue :
pattern : string *
value : string -> bool
Parameters
- pattern
- Type: SystemString
Regular expression. - value
- Type: SystemString
Value to validate.
Return Value
Type:
BooleanReturns true if value completely match with the specified
regular expression; otherwise false.
See Also