Skip to content
DevMeme
2154 of 7590
Languages Post #2404 · source on Telegram

Regex Explained Recursively

Description

A mostly blank white meme image has the heading "Regex explained with Regex:" near the upper left. Under it is a dense five-line regular expression full of anchors, nested groups, character classes, escaped brackets, lookaround-like constructs, named group syntax, and the final visible ending "$(?(N)(?!))"; the bottom-left watermark reads "t.me/dev_meme." The joke is that explaining regular expressions with another regular expression makes the subject maximally self-referential and unreadable. It captures the familiar senior-engineer tradeoff where regex can be concise, correct, and still hostile to future maintainers.

Comments

5
Anonymous ★ Top Pick Regex is the only documentation format where adding more explanation can increase the cyclomatic complexity of your eyebrows.
  1. Anonymous ★ Top Pick

    Regex is the only documentation format where adding more explanation can increase the cyclomatic complexity of your eyebrows.

  2. @AlpacaFromFuture 5y

    I can`t read it even with my mangekyou

  3. @v_kotey 5y

    use xxx (replace x with `) to post code blocks

  4. @Araalith 5y

    Its kinda easy.

    1. @fortrest 5y

      butt whatt itt means?

Use J and K for navigation