← back to v136 · regexp-escape

conformance · v136

v136 · regexp-escape — conformance probe

6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://tc39.es/proposal-regex-escaping/ chromestatus: #5179154657705984 generated 2026-06-01T08:03:56Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
6
total
id contract kind verdict detail
regexp-escape-is-function RegExp.escape is a static method on the RegExp constructor. spec ↗ typeof
regexp-escape-handles-meta-chars RegExp.escape returns a string that, when used as a pattern, matches the original literally — special characters are neutralised. spec ↗ script
regexp-escape-throws-on-non-string RegExp.escape throws a TypeError when the input is not a string. spec ↗ throws
regexp-escape-empty-string RegExp.escape('') returns the empty string. spec ↗ script
regexp-escape-preserves-unicode RegExp.escape preserves non-meta Unicode characters unchanged. spec ↗ script
regexp-escape-escapes-leading-digit Per the proposal, a leading decimal digit is escaped so the result cannot be confused with a back-reference when concatenated. spec ↗ script