| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Flags: --harmony-regexp-property | 5 // Flags: --harmony-regexp-property |
| 6 | 6 |
| 7 assertThrows("/\\p{In CJK}/u"); | 7 assertThrows("/\\p{In CJK}/u"); |
| 8 assertThrows("/\\p{InCJKUnifiedIdeographs}/u"); | 8 assertThrows("/\\p{InCJKUnifiedIdeographs}/u"); |
| 9 assertThrows("/\\p{InCJK}/u"); | 9 assertThrows("/\\p{InCJK}/u"); |
| 10 assertThrows("/\\p{InCJK_Unified_Ideographs}/u"); | 10 assertThrows("/\\p{InCJK_Unified_Ideographs}/u"); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 assertThrows("/\\p{Coptic}/u"); | 29 assertThrows("/\\p{Coptic}/u"); |
| 30 assertThrows("/\\p{Qaac}/u"); | 30 assertThrows("/\\p{Qaac}/u"); |
| 31 assertThrows("/\\p{Egyp}/u"); | 31 assertThrows("/\\p{Egyp}/u"); |
| 32 assertDoesNotThrow("/\\p{Script=Egyptian_Hieroglyphs}/u"); | 32 assertDoesNotThrow("/\\p{Script=Egyptian_Hieroglyphs}/u"); |
| 33 assertThrows("/\\p{EgyptianHieroglyphs}/u"); | 33 assertThrows("/\\p{EgyptianHieroglyphs}/u"); |
| 34 | 34 |
| 35 assertThrows("/\\p{BidiClass=LeftToRight}/u"); | 35 assertThrows("/\\p{BidiClass=LeftToRight}/u"); |
| 36 assertThrows("/\\p{BidiC=LeftToRight}/u"); | 36 assertThrows("/\\p{BidiC=LeftToRight}/u"); |
| 37 assertThrows("/\\p{bidi_c=Left_To_Right}/u"); | 37 assertThrows("/\\p{bidi_c=Left_To_Right}/u"); |
| 38 | 38 |
| 39 assertDoesNotThrow("/\\p{Block=CJK}/u"); | 39 assertThrows("/\\p{Block=CJK}/u"); |
| 40 assertThrows("/\\p{Block = CJK}/u"); | 40 assertThrows("/\\p{Block = CJK}/u"); |
| 41 assertThrows("/\\p{Block=cjk}/u"); | 41 assertThrows("/\\p{Block=cjk}/u"); |
| 42 assertThrows("/\\p{BLK=CJK}/u"); | 42 assertThrows("/\\p{BLK=CJK}/u"); |
| OLD | NEW |