A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tc39/proposal-regexp-set-notation/issues/50 below:

Are properties of strings atomic? · Issue #50 · tc39/proposal-regexp-v-flag · GitHub

This repository was archived by the owner on Feb 16, 2024. It is now read-only.

This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Are properties of strings atomic? #50

Description

Concretely: does /\p{RGI_Emoji}.../u (note the .s) match '\u{1F468}\u{1F3FE}\u200D\u2695\uFE0F'? That sequence of five points is in RGI_Emoji (as an emoji ZWJ sequence), but so is its prefix \u{1F468}\u{1F3FE} (as an emoji sequence).

I would assume it doesn't match (it says "an emoji followed by three more code points", and the string is not that), and that's what the discussion earlier seems to me to imply, but I'm not sure I'm reading it correctly. And the spec text doesn't seem to actually specify sequence properties (unless I've missed it).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4