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

GooglePrivacyDlpV2Regex

import type { GooglePrivacyDlpV2Regex } from "https://googleapis.deno.dev/v1/dlp:v2.ts";

Message defining a custom regular expression.

interface GooglePrivacyDlpV2Regex {
groupIndexes?: number[];
pattern?: string;
}

§Properties

§
groupIndexes?: number[]
[src]

The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.

§
pattern?: string
[src]

Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.