Skip to main content
Home

@std/regexp@1.0.1
Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score100%
Downloads4,538/wk
Publisheda year ago (1.0.1)

Utilities for working with RegExp

Functions

f
escape(str: string): string

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

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/regexp

Import symbol

import * as mod from "@std/regexp";
or

Import directly with a jsr specifier

import * as mod from "jsr:@std/regexp";