\

Regex Blaster

109 points - last Tuesday at 9:00 PM

Source
  • pimlottc

    today at 7:57 PM

    The colors are difficult for colorblind people. Orange/green is difficult already, and then green turns into red depending on the state? Ugh. Looks fun but unplayable for me.

    • ks2048

      today at 1:55 PM

      Every vibe coded site is too dark and the text is too small.

        • mdp

          today at 2:33 PM

          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.

            • btilly

              today at 4:20 PM

              My top complaint is that if I've successfully used a pattern, I want my text removed. I keep forgetting to backspace a bunch, then get frustrated that my pattern isn't working.

              Other than that, great game!

              • xnorswap

                today at 4:38 PM

                Next time please ask it to respect system dark/light mode preference, it's trivial to do, especially for an LLM which can spin up light/dark alternatives easily.

                  • NooneAtAll3

                    today at 4:41 PM

                    no

                    considering free windows being light theme only, it should be a button, not a "system default"

                      • xnorswap

                        today at 5:33 PM

                        There should be a button too, but it's simple to add a line so that it also defaults to any provided preference.

                        • zamadatix

                          today at 7:20 PM

                          By "free windows" do you just mean an unactivated copy of Windows? That doesn't prevent the user from configuring their preference in the browser itself.

                          • gdcbe

                            today at 7:23 PM

                            … is that even legal to do for microsoft? Are there no requirements to adhere to certain standards? Would have thought that is part of it.

                            • CamperBob2

                              today at 5:02 PM

                              That's fine, too. Either way, give the user the choice.

                  • mchaver

                    today at 4:56 PM

                    I could envision the style even before clicking on the site.

                    • progbits

                      today at 2:22 PM

                      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.

                        • mrkramer

                          today at 3:22 PM

                          I vibe code web apps with Google's Gemini and I think it actually mimics Google's UI and UX because I see similarities between my vibe coded web apps and Google's web apps.

                            • progbits

                              today at 3:47 PM

                              But that's a different style from the these colorful border rounded boxes that I think Claude in particular loves to produce.

                      • christoph-heiss

                        today at 3:25 PM

                        And all the text is grey-on-grey and basically unreadable. Not to even mention accessibility.

                        • PurpleRamen

                          today at 4:44 PM

                          Maybe because it 1337 hackerman-style, or something.

                          • lofaszvanitt

                            today at 5:54 PM

                            And not playtested at all :D

                            • flykespice

                              today at 4:00 PM

                              Every vibecoded site have this same dark look with shining hue-gradient borders, can't wait for the future the entire web be filled with this generic look

                              • darkstar999

                                today at 3:14 PM

                                What evidence do you have that this is vibe coded?

                                  • ks2048

                                    today at 7:56 PM

                                    Just based on vibes.

                                    • flexagoon

                                      today at 4:17 PM

                                      Because it looks exactly the same and feels as janky as 99% of vibecoded web apps

                              • HanClinto

                                today at 1:33 PM

                                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 ".*"

                                • UltraSane

                                  today at 7:56 PM

                                  cool idea but it needs to get slower as the levels get harder

                                  • freedomben

                                    today at 2:25 PM

                                    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)

                                    • joshribakoff

                                      today at 4:24 PM

                                      I cant even read this because most of the text is outside my phones viewport. Please test your stuff before posting it here.

                                      • lasgawe

                                        today at 6:14 PM

                                        Haha, this is nice. I'm bad at regex most of the time. Playing this felt like when I first switched from Visual Studio to Vim. it’s a bit of a learning curve. It’s an interactive game btw

                                        • 1-more

                                          today at 3:54 PM

                                          I don't understand the first "combat" level. There's no real defining pattern separating the good from bad hex strings, so it's just a typing speed contest to type all the enemy patterns, right? What am I missing?

                                            • Andoryuuta

                                              today at 4:00 PM

                                              As far as I can tell, the first combat level enemies all start with "ALERT-" and have exactly 3 digits.

                                                • 1-more

                                                  today at 4:42 PM

                                                  sorry, second combat level. It's all 6 digit hex color strings, some good some bad.

                                                    • Andoryuuta

                                                      today at 5:17 PM

                                                      Ah, I see. Yeah, that one definitely took me multiple attempts to see what it wanted.

                                                      I believe that the "enemies":

                                                      1. Must start with "#"

                                                      2. Must be exactly 6 hex digits

                                                      3. Must be lowercase

                                                        • 1-more

                                                          today at 5:20 PM

                                                          Ohhhhh I swore there were friendlies with lowercase too! Thank you!!

                                                            • schiem

                                                              today at 5:58 PM

                                                              There are, just not lowercase characters that are valid hex.

                                          • freedomben

                                            today at 2:28 PM

                                            Source code!: https://github.com/mdp/regex-blaster

                                            • JanisErdmanis

                                              today at 3:28 PM

                                              This is really funny ;D Gives Tetris vibes and is executed beautifully.

                                              • NooneAtAll3

                                                today at 4:39 PM

                                                I wish it wasn't time-limited...

                                                • sublinear

                                                  today at 7:14 PM

                                                  The page width is not responsive and unusable on mobile

                                                  • mrkramer

                                                    today at 3:13 PM

                                                    This looks like something I would vibe code with Google's Gemini. Interesting concept.

                                                    • brew-hacker

                                                      today at 2:07 PM

                                                      Fun interactive game!

                                                      • SilentM68

                                                        today at 2:20 PM

                                                        Cool idea! I shall give it a try :)

                                                        • mdp

                                                          last Tuesday at 9:15 PM

                                                          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

                                                              today at 2:07 PM

                                                              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.

                                                              • littlekey

                                                                today at 6:19 PM

                                                                Anecdotal data point, writing and maintaining regex is still a core part of my job. Not useless at all for me :)

                                                                • croes

                                                                  today at 2:03 PM

                                                                  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

                                                                    • cachius

                                                                      today at 3:31 PM

                                                                      You can go local now with qwen 3.5 9B Q4 powering hermes agent at 35 to 50 tok/s with 99 percent tool call success rate on a used RTX 3060 for the price of two months of ChatGPT Pro and never bother. https://xcancel.com/sudoingX/status/2033020823846674546#m

                                                                      This is the worst local AI will ever be. It only gets better from here. https://xcancel.com/sudoingX/status/2033959603944493192#m

                                                                        • croes

                                                                          today at 5:40 PM

                                                                          Nope, if nobody trains the models on new data you have at some point an outdated model.

                                                                          Imagine Qwen 3.5 created in the 1990s and then use it for today web or desktop development.

                                                                          And is the problem solved that training AI with AI code makes the AI worse? If not the "it only gets better" claim is questionable.

                                                                            • autoexec

                                                                              today at 7:16 PM

                                                                              > Nope, if nobody trains the models on new data you have at some point an outdated model.

                                                                              As people train the models on new data they'll be increasingly training on AI output including hallucinations and slop. More garbage in means even more garbage out and the cycle will continue as "updated" models decline in quality.

                                                              • neonsunset

                                                                today at 2:57 PM

                                                                [dead]