Click or drag to resize

FilePathGetFilePatternRegularExpression Method

Gets a regular expression pattern that simulates wildcard matching for filenames (wildcards are defined as '*' or '?' characters).

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntax
public static string GetFilePatternRegularExpression(
	string fileSpec
)
View Source

Parameters

fileSpec  String
The file spec for which the regular expression pattern if to be generated.

Return Value

String
Regular expression pattern that simulates wildcard matching for filenames.
See Also