CreateFilePathRegularExpression
Contents
[
Hide
]
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
- interface ISearchDocumentFilter
- class SearchDocumentFilter
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search
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
- interface ISearchDocumentFilter
- class SearchDocumentFilter
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search