content icon indicating copy to clipboard operation
content copied to clipboard

Regex reference

Open Josh-Cena opened this issue 3 years ago • 1 comments

Description

See https://github.com/mdn/mdn-community/discussions/196

Draft as a demo

Motivation

Additional details

Related issues and pull requests

Josh-Cena avatar Nov 10 '22 06:11 Josh-Cena

Preview URLs (28 pages)
Flaws (5)

Note! 23 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group Title: Named capturing group: (?<name>...) Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: javascript.regular_expressions.named_capturing_group

URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape Title: Unicode character class escape: \p{...}, \P{...} Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: javascript.regular_expressions.unicode_character_class_escape

URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Non-capturing_group Title: Non-capturing group: (?:...) Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: javascript.regular_expressions.non-capturing_group

URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Literal_character Title: Literal character: a, b Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: javascript.regular_expressions.literal_character

URL: /en-US/docs/Mozilla/Firefox/Releases/78 Title: Firefox 78 for developers Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/ParentNode/replaceChildren redirects to /en-US/docs/Web/API/Element/replaceChildren
External URLs (17)

URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions Title: Regular expressions


URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Word_boundary_assertion Title: Word boundary assertion: \b, \B


URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class_escape Title: Character class escape: \d, \D, \w, \W, \s, \S


URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group Title: Named capturing group: (?<name>...)


URL: /en-US/docs/Web/JavaScript/Reference/Regular_expressions/Unicode_character_class_escape Title: Unicode character class escape: \p{...}, \P{...}


URL: /en-US/docs/Web/JavaScript/Guide/Regular_expressions/Groups_and_backreferences Title: Groups and backreferences


URL: /en-US/docs/Web/JavaScript/Guide/Regular_expressions/Assertions Title: Assertions


URL: /en-US/docs/Mozilla/Firefox/Releases/78 Title: Firefox 78 for developers

(comment last updated: 2023-05-04 08:17:37)

github-actions[bot] avatar Nov 10 '22 06:11 github-actions[bot]

I for one really like the way this is going @Josh-Cena, folks seem quite positive about this content :)

I'll await a little more feedback from others, but I might open a tracking bug for the work moving forward (the roadmap is still a few weeks away which is a shame because this is the perfect thing for it)

Rumyra avatar Nov 18 '22 13:11 Rumyra

Update: I have completed the scaffolds for all pages, but I'm missing a lot of examples, and I also plan to rearrange documentation about regexes in other places. Now is a good time to comment on the description sections, because I feel like I've stuffed in a lot of obscure details.

Josh-Cena avatar Nov 19 '22 21:11 Josh-Cena

Oops—@bsmth I rebased without pulling. In case you still have your commits locally, could you force push again? I'm not sure if https://github.com/mdn/content/commit/84869d6ee1c23050873c0ed74a05b3d8b9036e07 used to be pushed to this branch.

Josh-Cena avatar Feb 08 '23 17:02 Josh-Cena

BCD for the patterns has been merged in https://github.com/mdn/browser-compat-data/pull/18966

bsmth avatar Feb 23 '23 13:02 bsmth

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Apr 05 '23 05:04 github-actions[bot]

Hi @bsmth because V8 recently shipped the v flag, I'd like to get this reviewed & merged soon so I can work on its reference and put them "in the right place".

Josh-Cena avatar Apr 23 '23 05:04 Josh-Cena