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.

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 IgnoreCase flag.

Return Value

A regular expression query.

See Also