2018-07-09 18:26:53 +02:00
|
|
|
// Copyright 2018 Mathias Bynens. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
author: Mathias Bynens
|
|
|
|
description: >
|
|
|
|
Binary properties with an explicit value must throw in Unicode property
|
|
|
|
escapes (even if the value is valid).
|
|
|
|
esid: sec-static-semantics-unicodematchproperty-p
|
|
|
|
negative:
|
|
|
|
phase: parse
|
|
|
|
type: SyntaxError
|
|
|
|
features: [regexp-unicode-property-escapes]
|
|
|
|
---*/
|
|
|
|
|
2018-10-11 16:59:24 +02:00
|
|
|
$DONOTEVALUATE();
|
2018-07-09 18:26:53 +02:00
|
|
|
|
|
|
|
/\p{ASCII=Yes}/u;
|