Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SubstringMatchCriteria

import type { SubstringMatchCriteria } from "https://googleapis.deno.dev/v1/docs:v1.ts";

A criteria that matches a specific string of text in the document.

interface SubstringMatchCriteria {
matchCase?: boolean;
searchByRegex?: boolean;
text?: string;
}

§Properties

§
matchCase?: boolean
[src]

Indicates whether the search should respect case: - True: the search is case sensitive. - False: the search is case insensitive.

§
searchByRegex?: boolean
[src]

Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - True: the search text is treated as a regular expressions. - False: the search text is treated as a substring for matching.

§
text?: string
[src]

The text to search for in the document.