← back to v160 · regular-expression-buffer-boundaries

conformance · v160

v160 · regular-expression-buffer-boundaries — conformance probe

10 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-regexp-buffer-boundaries chromestatus: #5187917373898752 generated 2026-11-22T12:00:00Z by weekly-hardening-builder
0
pass
0
fail
0
blocked
10
total
id contract kind verdict detail
unicode-mode-accepts-buffer-escapes In Unicode mode (u flag), \A, \z and \Z are valid Assertion escapes, so new RegExp('\A\z\Z', 'u') compiles instead of throwing 'Invalid escape'. spec ↗ script …
unicodesets-mode-accepts-buffer-escapes The v (unicodeSets) flag enables the escapes too: /\Afoo\z/v matches "foo". spec ↗ script …
start-end-ignore-multiline \A and \z are not affected by the m flag: /\Afoo\z/mu matches "foo" but not "foo\nbar" or "bar\nfoo". spec ↗ script …
mixed-anchors-readme-table Buffer boundaries combine with line anchors: /\Afoo|^bar$|baz\z/um reproduces all nine results from the proposal README. spec ↗ script …
capital-z-allows-one-line-terminator \Z matches at the end or before exactly one final line terminator sequence (\r\n, \n, \r, U+2028, U+2029), but not before two. spec ↗ script …
escapes-equal-modifier-desugaring \A, \z and \Z match at exactly the same positions as (?-m:^), (?-m:$) and (?=(?:\r\n|\n|\r|\u2028|\u2029)?(?-m:$)) on "a\r\nb\r\n" with the m flag. spec ↗ script …
sticky-start-is-input-start \A succeeds only at index 0 of the input, even for a sticky regex positioned elsewhere via lastIndex. spec ↗ script …
annex-b-literal-without-unicode-mode Outside Unicode mode the Annex B grammar still treats \A as the identity escape for the letter A: /\Afoo/ matches "Afoo" and not "foo". spec ↗ script …
not-allowed-in-character-class \A is not a ClassEscape: new RegExp('[\A]', 'u') throws a SyntaxError. spec ↗ throws …
assertion-not-quantifiable Buffer boundaries are Assertions, which cannot take a Quantifier in Unicode mode: new RegExp('\z+', 'u') throws a SyntaxError. spec ↗ throws …