Click or drag to resize

SecurityProviderUtilityIsRegexMatch Method

Determines if the specified target matches the specified spec.

Namespace: GSF.Security
Assembly: GSF.Security (in GSF.Security.dll) Version: 2.4.181-beta
Syntax
public static bool IsRegexMatch(
	string spec,
	string target
)
View Source

Parameters

spec  String
Spec string that can include wildcards ('*'). For example, *.txt
target  String
Target string to be compared with the spec.

Return Value

Boolean
true if the target matches the spec, otherwise false.
See Also