Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #6309

D

Dr. Regex

Personal blog · drregex.comprogramming

Dr. Regex is a personal blog at drregex.com about programming. Since 2017, 12 different Hacker News readers have linked it 13 times, most often “How to match “A B C” where A+B=C: The Beast Reborn”. The last post was in 2019, but the archive is still widely read.

Visit the blog
13mentions?
12HN people?
2017–2022first – last linked?
Links on Hacker News per year · peak 4 in 2018

Too few sampled comments (5) to say how often HN recommends it.?

Why HN links it

HN readers link Dr. Regex for its regex walkthroughs and worked examples, such as matching "A B C" where A+B=C and a workaround for variable-length lookbehind. Comments cite these posts as references.

Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Unique, esoteric insight into the world of regular expressions.

Most-linked posts?

  1. How to match “A B C” where A+B=C: The Beast Reborn
    4 people · 4 mentions · first linked 2018-11-02
  2. /2019/02/variable-length-lookbehinds-actually.html
    2 people · 2 mentions · first linked 2021-04-23
  3. How to match “A B C” where A+B=C with a regex
    2 people · 2 mentions · first linked 2018-09-06

What Hacker News says?

  1. how about this "match "A B C" where A+B=C"[1] for sanity? [1] http://www.drregex.com/2018/11/how-to-match-b-c-where-abc-be...

    Comment linking /2018/11/how-to-match-b-c-where-abc-beast-reborn.html

    on “Show HN: Regex Cheatsheet”
  2. Submitted How to Match “A B C” where A+B=C: The Beast Tamed (2018) as a story · 95 points

    HN discussion
  3. Did that end up becoming a problem in all the other distros using aliased directories, for example Fedora which has 10 years of experience with this scheme? An quick look on Fedora 35 with $ grep -rP "(?!(?=(?'a'[\s\S]*))(?'b'\/usr(?=\k'a'\z)|(?<=(?=x^|(?&b))[\s\S])))\/bin\/(?!(sh|ksh|zsh|bsh|bash|dash|mount|umount|echo|true|false|ls|rm|mv|ln|cat))" /usr/bin doesn't really show any objectionable binaries being refer…

    Comment linking /2019/02/variable-length-lookbehinds-actually.html

    on “Debian still having trouble with merged /usr”
  4. Submitted How to match “A B C” where A+B=C with a regex as a story · 4 points

    HN discussion
  5. > variable length lookbehind, which isn't supported by Perl It is supported: https://perldoc.perl.org/perl5300delta#Core-Enhancements Work-around for all previous versions: http://www.drregex.com/2019/02/variable-length-lookbehinds-a...

    Comment linking /2019/02/variable-length-lookbehinds-actually.html

    on “Some useful regular expressions for programmers”
  6. Submitted How to match 'A B C' where A+B=C: The Beast Reborn as a story · 3 points

    HN discussion
  7. Wonder what happened to the regex101 demo link [1], it just redirects to home page [1] https://regex101.com/r/8e2iU1/2 --- Edit: Found a newer article [2] which does point a working regex101 link [3] [2] http://www.drregex.com/2018/11/how-to-match-b-c-where-abc-be... [3] https://regex101.com/r/QsFZ5M/2

    Comment linking /2018/11/how-to-match-b-c-where-abc-beast-reborn.html

    on “How to Match “A B C” where A+B=C: The Beast Tamed (2018)”
  8. Submitted How to match “A B C” where A+B=C: The Beast Reborn as a story · 2 points

    HN discussion
  9. And here's a followup: http://www.drregex.com/2018/11/how-to-match-b-c-where-abc-be... (with a rege101 demo that's still live)

    Comment linking /2018/11/how-to-match-b-c-where-abc-beast-reborn.html

    on “How to match “A B C” where A+B=C with a regex”
  10. Submitted How to Match “A B C” where A+B=C: The Beast Tamed as a story · 2 points

    HN discussion
  11. Submitted Match Nested Brackets with Regex: A New Approach as a story · 2 points

    HN discussion
  12. Submitted Lookahead Quantification: An utterly loopy trick as a story · 1 points

    HN discussion
  13. Submitted How to match “A B C” where A+B=C: The Beast Reborn as a story · 1 points

    HN discussion

Search all of HN for drregex.com

Linked by the same people?