loose-matching-03-negated.js (483B)
1 // |reftest| error:SyntaxError 2 // Copyright 2018 Mathias Bynens. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 author: Mathias Bynens 7 description: > 8 Loose matching must not be applied when matching properties and values in 9 Unicode property escapes. 10 esid: sec-static-semantics-unicodematchproperty-p 11 negative: 12 phase: parse 13 type: SyntaxError 14 features: [regexp-unicode-property-escapes] 15 ---*/ 16 17 $DONOTEVALUATE(); 18 19 /\P{ANY}/u;