Regex Blaster

(mdp.github.io)

44 points | by mdp 2 days ago

8 comments

  • freedomben 45 minutes ago
    Wow really cool! Genuinely fun, and educational at the same time.

    One usability request: after firing a regex, could the text box be cleared? It's not hard to hit Ctrl+A and start typing again, but it does add a bit of friction. (I can send a PR)

  • HanClinto 1 hour ago
    Nice game!

    We made a similar game several years ago for the Pyweek game competition, but there wasn't the fun "letter invaders" style that this one has.

    https://pyweek.org/e/RegExExpress/

    I really like your implementation!

    Might be good to limit some of the special operators to give more focus -- otherwise the early levels are a bit too solvable with ".*"

  • freedomben 42 minutes ago
  • ks2048 1 hour ago
    Every vibe coded site is too dark and the text is too small.
    • mdp 37 minutes ago
      This is fair, although I ask for it to be dark themed to match what I think was the style of typing game I remember growing up with (it's been a while). Bumped up the font though.
    • progbits 48 minutes ago
      They all have this rounded box design as well. I wonder where that came from, I don't think it was a predominant style before.
  • brew-hacker 1 hour ago
    Fun interactive game!
  • SilentM68 49 minutes ago
    Cool idea! I shall give it a try :)
  • neonsunset 12 minutes ago
    [dead]
  • mdp 2 days ago
    TL;DR: I think you should still learn regex, even though AI has made it a "useless" skill

    https://mdp.github.io/2026/03/17/the-kids-are-alright-and-th...

    • m3galinux 1 hour ago
      Not so useless. In my experience LLMs are about 50/50 on making a regex that actually works and covers the cases you asked it for. Even less when you get into cases needing advanced features like backreferences and lookahead.
    • croes 1 hour ago
      A little bit early to tell.

      Let’s wait how affordable, available and good AI is when the companies turn to profit maximization and enshittification begins