NameFilter.IsValidExpression Method

SharpZip Compression Library

SharpZip Compression Library

NameFilter.IsValidExpression Method 

Test a string to see if it is a valid regular expression.

public static bool IsValidExpression(
   string e
);

Parameters

e
The expression to test.

Return Value

True if expression is a valid Regex false otherwise.

See Also

NameFilter Class | ICSharpCode.SharpZipLib.Core Namespace