[w3ctag/design-reviews] TAG review of the proposal to use the RegExp `v` flag instead of `u` for the HTML `pattern` attribute (Issue #832)

こんにちは TAG-さん!

I'm requesting a TAG review of [the proposal to use the RegExp `v` flag instead of `u` for the HTML `pattern` attribute](https://github.com/whatwg/html/pull/7908).

Using [the new RegExp `v` flag](https://v8.dev/features/regexp-v-flag) instead of `u` would enable the use of set notation, string literal syntax, and Unicode properties of strings within `pattern` attribute values.

  - Explainer: https://groups.google.com/a/chromium.org/g/blink-dev/c/gIyvMw0n2qw Note that any of the regular expression pattern examples at https://v8.dev/features/regexp-v-flag constitute valid use cases for the `pattern` attribute as well.
  - Specification URL: https://github.com/whatwg/html/pull/7908
  - Tests: https://github.com/web-platform-tests/wpt/pull/38547
  - User research: N/A
  - Security and Privacy self-review²: N/A. This is a small change to an already-existing feature.
  - GitHub repo (if you prefer feedback filed there): N/A
  - Primary contacts (and their relationship to the specification):
      - Mathias Bynens (@mathiasbynens, Google, proposal author)
  - Organization(s)/project(s) driving the specification: Google Chrome team
  - Key pieces of existing multi-stakeholder review or discussion of this specification:
       - [Mozilla standards position request](https://github.com/mozilla/standards-positions/issues/745)
       - [WebKit standards position request](https://github.com/WebKit/standards-positions/issues/132)
       - [Some stakeholder discussion in the comments on the spec PR](https://github.com/whatwg/html/pull/7908#issuecomment-1408525074)
  - External status/issue trackers for this specification (publicly visible, e.g. Chrome Status):
       - Chromium/Chrome: https://chromestatus.com/feature/5149507107422208 + https://bugs.chromium.org/p/chromium/issues/detail?id=1412729
       - Gecko/Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=pattern-v
       - WebKit/Safari: https://bugs.webkit.org/show_bug.cgi?id=pattern-v

Further details:

  - [x] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - Relevant time constraints or deadlines: N/A
  - The group where the work on this specification is currently being done: Spec-wise this is a minor change to the existing HTML `pattern` attribute.
  - The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): The WHATWG HTML Standard.
  - Major unresolved issues with or opposition to this specification: So far, all stakeholders seem in favor of the proposal. The one open question is whether this change is Web Compatible. We’ve implemented a Chrome `UseCounter` giving us _the upper bound_ of potential compat issues. None of the `UseCounter` hits so far (see [analysis starting with comment #11 on the crbug](https://bugs.chromium.org/p/chromium/issues/detail?id=1412729#c11)) constitute an issue in practice.
  - This work is being funded by: Google GmbH

We'd prefer the TAG provide feedback as (please delete all but the desired option):

  💬 leave review feedback as a **comment in this issue** and @-notify `mathiasbynens`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/832
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/832@github.com>

Received on Wednesday, 5 April 2023 15:52:01 UTC