CreateRegexQuery

CreateRegexQuery(string)

Creates a regular expression query.

public static SearchQuery CreateRegexQuery(string pattern)
Parameter Type Description
pattern String The regular expression pattern to match.

Return Value

A regular expression query.

Remarks

The expression is matched with the words without regard to the letter case, also in a case-sensitive search, see UseCaseSensitiveSearch.

See Also


CreateRegexQuery(string, RegexOptions)

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.

Return Value

A regular expression query.

Remarks

The expression is matched with the words without regard to the letter case, also in a case-sensitive search, see UseCaseSensitiveSearch.

See Also