b4d35d0241
This reverts commit 1eecdf3450
.
Reason for revert: unacceptable binary size increase (+65.5 KiB)
We’ll reland once we implement a more efficient way to store the
sequences.
Original change's description:
> Update RegExp sequence property support
>
> This patch aligns --harmony-regexp-sequence with the latest version of
> the corresponding TC39 and Unicode proposals.
>
> The list of supported properties has been changed:
>
> - https://github.com/tc39/proposal-regexp-unicode-sequence-properties#proposed-solution
> - https://unicode.org/reports/tr18/#Full_Properties
>
> Furthermore, the Unicode data now uses Unicode v13.0.0 instead of v12.0.0.
>
> Bug: v8:7467
> Change-Id: I1ac386d87af68d68e84e919cb5ffc1313443844a
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2497163
> Reviewed-by: Jakob Gruber <jgruber@chromium.org>
> Reviewed-by: Yang Guo <yangguo@chromium.org>
> Commit-Queue: Mathias Bynens <mathias@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#70752}
TBR=yangguo@chromium.org,jgruber@chromium.org,mathias@chromium.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: v8:7467
Change-Id: I6721f4862827dc686d96d79498a1e8fdae4481d7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2505758
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70866}
271 lines
11 KiB
JavaScript
271 lines
11 KiB
JavaScript
// Copyright 2019 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// Flags: --harmony-regexp-sequence
|
|
|
|
// These tests have been generated by the script at
|
|
// https://gist.github.com/mathiasbynens/3b42c99a227521dabfe68d9e63f00f42.
|
|
// Do not modify this file directly!
|
|
|
|
const re = /\p{Emoji_Flag_Sequence}/u;
|
|
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1FF}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F6}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1FD}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1E7}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1EF}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F6}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1E7}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FD}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1E8}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1EF}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1E9}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1EA}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1EF}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1EB}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1E7}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F6}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1EC}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1ED}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F6}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1EE}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1EF}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1EF}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1EF}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1EF}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1E6}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1E7}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1F1}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F6}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FD}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1F2}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1F5}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1F3}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1F4}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1F5}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1F6}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F7}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F7}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1F7}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1F7}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1F7}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1E7}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1EF}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1FD}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1F8}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1E9}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1ED}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1EF}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F1}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F4}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F7}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1FB}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1FC}'));
|
|
assertTrue(re.test('\u{1F1F9}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1FE}'));
|
|
assertTrue(re.test('\u{1F1FA}\u{1F1FF}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1E8}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1EC}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1EE}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1F3}'));
|
|
assertTrue(re.test('\u{1F1FB}\u{1F1FA}'));
|
|
assertTrue(re.test('\u{1F1FC}\u{1F1EB}'));
|
|
assertTrue(re.test('\u{1F1FC}\u{1F1F8}'));
|
|
assertTrue(re.test('\u{1F1FD}\u{1F1F0}'));
|
|
assertTrue(re.test('\u{1F1FE}\u{1F1EA}'));
|
|
assertTrue(re.test('\u{1F1FE}\u{1F1F9}'));
|
|
assertTrue(re.test('\u{1F1FF}\u{1F1E6}'));
|
|
assertTrue(re.test('\u{1F1FF}\u{1F1F2}'));
|
|
assertTrue(re.test('\u{1F1F0}\u{1F1FE}'));
|