blob: 8aab71c746a543c0df5ad94b3e48c0d118ee6507 [file] [log] [blame]
// Copyright (C) 2018 Igalia S. L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-regular-expressions-patterns
description: Lookbehinds are not treated as a QuantifiableAssertion
info: |
Term[U] ::
[~U] QuantifiableAssertion Quantifier
QuantifiableAssertion[N]::
( ? = Disjunction[~U, ?N] )
( ? ! Disjunction[~U, ?N] )
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
/.(?<!.){2,3}/u;