Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/regexp/escape.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.216.0/regexp/escape.ts";

Functions

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