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 DocumentFilter CreateFilePathRegularExpression(string pattern)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
Return Value
A document filter by file name.
See Also
- class DocumentFilter
- 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 DocumentFilter CreateFilePathRegularExpression(string pattern, RegexOptions options)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern. |
| options | RegexOptions | The regular expression options. |
Return Value
A document filter by file name.
See Also
- class DocumentFilter
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search