OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Flags: --harmony-regexp-property |
| 6 |
| 7 assertThrows("/\p{Block=ASCII}+/u"); |
| 8 assertThrows("/\p{Block=ASCII}+/u"); |
| 9 assertThrows("/\p{Block=Basic_Latin}+/u"); |
| 10 assertThrows("/\p{Block=Basic_Latin}+/u"); |
| 11 |
| 12 assertThrows("/\p{blk=CJK}+/u"); |
| 13 assertThrows("/\p{blk=CJK_Unified_Ideographs}+/u"); |
| 14 assertThrows("/\p{blk=CJK}+/u"); |
| 15 assertThrows("/\p{blk=CJK_Unified_Ideographs}+/u"); |
| 16 |
| 17 assertThrows("/\p{Block=ASCII}+/u"); |
| 18 assertThrows("/\p{Block=ASCII}+/u"); |
| 19 assertThrows("/\p{Block=Basic_Latin}+/u"); |
| 20 assertThrows("/\p{Block=Basic_Latin}+/u"); |
| 21 |
| 22 assertThrows("/\p{NFKD_Quick_Check=Y}+/u"); |
| 23 assertThrows("/\p{NFKD_QC=Yes}+/u"); |
| 24 |
| 25 assertThrows("/\p{Numeric_Type=Decimal}+/u"); |
| 26 assertThrows("/\p{nt=De}+/u"); |
| 27 |
| 28 assertThrows("/\p{Bidi_Class=Arabic_Letter}+/u"); |
| 29 assertThrows("/\p{Bidi_Class=AN}+/u"); |
| 30 |
| 31 assertThrows("/\p{ccc=OV}+/u"); |
| 32 |
| 33 assertThrows("/\p{Sentence_Break=Format}+/u"); |
| 34 |
| 35 assertThrows("/\\p{In}/u"); |
| 36 assertThrows("/\\pI/u"); |
| 37 assertThrows("/\\p{I}/u"); |
| 38 assertThrows("/\\p{CJK}/u"); |
OLD | NEW |