Module

std/regexp/mod.ts

The Deno Standard Library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.223.0/regexp/mod.ts";

Functions for tasks related to regular expression (regexp), such as escaping text for interpolation into a regexp.

Functions

Escapes arbitrary text for interpolation into a regexp, such that it will match exactly that text and nothing else.