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

RegexMatcher

import type { RegexMatcher } from "https://googleapis.deno.dev/v1/trafficdirector:v3.ts";

A regex matcher designed for safety when used with untrusted input.

interface RegexMatcher {
googleRe2?: GoogleRE2;
regex?: string;
}

§Properties

§
googleRe2?: GoogleRE2
[src]

Google's RE2 regex engine.

§
regex?: string
[src]

The regex match string. The string must be supported by the configured engine. The regex is matched against the full string, not as a partial match.