NameFilter.IsValidExpression Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

NameFilter.IsValidExpression Method 

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

public static bool IsValidExpression(
   string expression
);

Parameters

expression
The expression to test.

Return Value

True if expression is a valid Regex false otherwise.

See Also

NameFilter Class | ICSharpCode.SharpZipLib.Core Namespace