Interface TextSearchQuery

The parameters of a query for text search.

interface TextSearchQuery {
    isCaseSensitive?: boolean;
    isMultiline?: boolean;
    isRegExp?: boolean;
    isWordMatch?: boolean;
    pattern: string;
}

Properties

isCaseSensitive?: boolean

Whether or not the search should be case-sensitive.

isMultiline?: boolean

Whether or not pattern should match multiple lines of text.

isRegExp?: boolean

Whether or not pattern should be interpreted as a regular expression.

isWordMatch?: boolean

Whether or not to search for whole word matches only.

pattern: string

The text pattern to search for.