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/55 below:

Michael Saboff's Review · Issue #55 · tc39/proposal-regexp-v-flag · GitHub

Over all, it looks good.

For the Syntax Rules production ClassReservedDouble, is the long list of reserved doubled syntax characters a somewhat paranoid reservation for possible extensions without needing to add a new flag?

A possible nit question. For 22.2.2.7 Runtime Semantics: CompileAtom, Step 6 of the production Atom :: CharacterClass,
It seems to me that the sorting of Strings by descending order of string length might undermine the intent of a developer.
Consider a CharacterClass that contains a long list of strings, the developer may have ordered equal length strings within that character class by the expected match likelihood. If the sort is not stable, the sorting by length may circumvent that intended order, possibly impacting match performance.


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