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

std/regexp/mod.ts

The Deno Standard Library
Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.224.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.