|
SecurityProviderUtility.IsRegexMatch Method
|
Determines if the specified target matches the specified spec.
Namespace: GSF.SecurityAssembly: GSF.Security (in GSF.Security.dll) Version: 2.4.246-beta
Syntaxpublic static bool IsRegexMatch(
string spec,
string target
)
Public Shared Function IsRegexMatch (
spec As String,
target As String
) As Boolean
public:
static bool IsRegexMatch(
String^ spec,
String^ target
)
static member IsRegexMatch :
spec : string *
target : string -> bool
GSF.Security.SecurityProviderUtility.IsRegexMatch = function(spec, target);
View SourceParameters
- spec String
- Spec string that can include wildcards ('*'). For example, *.txt
- target String
- Target string to be compared with the spec.
Return Value
Booleantrue if the
target matches the
spec, otherwise false.
See Also