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

std/regexp/mod.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.194.0/regexp/mod.ts";

Functions for tasks related to regular expression (regexps), 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.