CreateRegexQuery
Leave feedback
On this page
Creates a regular expression query.
public static SearchQuery CreateRegexQuery(string pattern)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern to match. |
A regular expression query.
The expression is matched with the words without regard to the letter case, also in a case-sensitive search, see UseCaseSensitiveSearch.
- class SearchQuery
- namespace GroupDocs.Search
- assembly GroupDocs.Search
Creates a regular expression query.
public static SearchQuery CreateRegexQuery(string pattern, RegexOptions options)
| Parameter | Type | Description |
|---|---|---|
| pattern | String | The regular expression pattern to match. |
| options | RegexOptions | A bitwise combination of the enumeration values that modify the regular expression. This value must contain the IgnoreCase flag. |
A regular expression query.
The expression is matched with the words without regard to the letter case, also in a case-sensitive search, see UseCaseSensitiveSearch.
- class SearchQuery
- namespace GroupDocs.Search
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.