BASELINE NowYouCanUse.com
Web Platform Baseline Status Breakdown Total Features: 1219
Search:
Categories: All CSS (102) HTML elements (100) Selectors (46) JavaScript (43) Forms (42)
WebGL extensions (37) Text (26) WebAssembly (22) Media queries (21) Scrolling (20) Fonts (19) Performance (19) Arrays (17) Layout (17) HTML (16) Progressive web app (15) Typed arrays (14) Units (14) Canvas (13) Color types (13) Strings (13) Background (12) Media elements (12) Security (12) Animation (11) Clipping, shapes, and masking (11) Web components (11) WebXR (11) Typographic font features (10) DOM (9) Internationalization (9) Iterators (9) Reporting (9) Text wrap (9) Workers (9) Clipboard (8) CSS object models (7) Containment (7) Fetch (7) JavaScript modules (7) Print media (7) Sensors (7) Container queries (6) Explicit defaults (6) Image formats (6) Landmark elements (6) Multi-column (6) Positioning (6) Promises (6) SVG (6) Storage (6) Streams (6) Credential management (5) Custom elements (5) Font synthesis (5) HTTP (5) Lists (5) Messaging (5) Resource hints (5) Ruby (5) Selection (5) Speech (5) Transitions (CSS) (5) View transitions (5) Web audio (5) WebGL (5) Anchor positioning (4) Cookies (4) Counters (4) File system access (4) Flexbox (4) Gamepad (4) Grid (4) Images (4) Primitive types (4) Regular expressions (4) WebDriver (4) WebRTC (4) Blend mode (3) Borders and outlines (3) Geolocation (3) Gradients (3) Image scaling (3) JSON (3) Maps (3) MathML (3) Payments (3) Reading order (3) Scroll markers (3) Transforms (3) WebAuthn (3) WebGPU (3) White space (3) Worklets (3) XML (3) Collections (2) Compute pressure (2) IndexedDB (2) Parsing and serialization (2) Resource integrity (2) Sets (2) Text fragments (2) WebMCP (2) CSS environment variables (1)
Years: All 2025 2015
Showing 4 of 4 features

2025

1 features
• May 2025

The RegExp.escape() static method takes a string and replaces any characters that are potentially special characters of a regular expression with equivalent escape sequences. For example, RegExp.escape("[abc]") returns "\\[abc\\]".

Chrome 136
Firefox 134
Safari 18.2
Edge 136
Baseline Date: May 1, 2025

2015

1 features
• July 2015

The RegExp object represents a regular expression, a notation for matching text patterns.

Chrome 1
Firefox 1
Safari 1
Edge 12
Baseline Date: Jul 29, 2015

Limited Availability

2 features
• In Progress / Not Yet Baseline

The compile() method of RegExp objects recompiles an existing regular expression object using a new pattern and flags.

Chrome 1
Firefox 1
Safari 3.1
Edge 12
Status: Incomplete cross-engine support

The RegExp object has several static properties to access the input and results of the most-recent regular expression match.

Chrome 1
Firefox 1
Safari 3
Edge 12
Status: Incomplete cross-engine support