CreateFilePathRegularExpression

CreateFilePathRegularExpression(string)

Creates a filter for skipping documents that are not match a regular expression. The regular expression is applied to the full path of a document.

public static ISearchDocumentFilter CreateFilePathRegularExpression(string pattern)
Parameter Type Description
pattern String The regular expression pattern.

Return Value

A search document filter by file name.

See Also


CreateFilePathRegularExpression(string, RegexOptions)

Creates a filter for skipping documents that are not match a regular expression. The regular expression is applied to the full path of a document.

public static ISearchDocumentFilter CreateFilePathRegularExpression(string pattern, 
    RegexOptions options)
Parameter Type Description
pattern String The regular expression pattern.
options RegexOptions The regular expression options.

Return Value

A search document filter by file name.

See Also