summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/harmony/regexp-property-emoji-tag-sequence-generated.js
blob: 129e1c7777e75097974b4c8639617df28f11ee39 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018 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

const re = /\p{Emoji_Tag_Sequence}/u;

assertTrue(re.test('\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}'));
assertTrue(re.test('\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}'));
assertTrue(re.test('\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}'));