WildcardWildcardToRegex Method

Converts a wildcard to a regular expression.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static string WildcardToRegex(
	string pattern
)

Parameters

pattern  String
The wildcard pattern to convert.

Return Value

String
A regular expression equivalent of the given wildcard.

See Also