WildcardWildcardToRegex Method
Converts a wildcard to a regular expression.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static string WildcardToRegex(
string pattern
)
- pattern String
- The wildcard pattern to convert.
StringA regular expression equivalent of the given wildcard.