News for hackers. Stuff that matters.
Re:Show HN: I Challenge You to a Regex by alyt on Thursday March 27, 2025 @10:15AM (#43493901)
Would be really cool if it could just keep generating new regexes to solve for! So it could be like a training game.

And also a version that involves making a regex that passes two sets of test strings (one set for strings that should match the regex, one for strings that shouldn't match).

Nice design btw, minimalistic but satisfying. The two features above would make this a really sick project overall IMO

Re:Show HN: I Challenge You to a Regex by jdalton on Thursday March 27, 2025 @02:03PM (#43496204)
Thank you so much!

I'm going to hook a backend up to have AI generate patterns.

I like the idea of positive and negative matching :)

Re:Show HN: I Challenge You to a Regex by KomoD on Thursday March 27, 2025 @10:30AM (#43494060)
It was a bit too easy but I think something like this but as a wordle-type game with daily challenges could be fun.
Re:Show HN: I Challenge You to a Regex by jdalton on Thursday March 27, 2025 @02:04PM (#43496214)
I could see about making the initial one more difficult or let the user pick a difficulty level.

I love the wordle-like approach idea!!!

Re:Show HN: I Challenge You to a Regex by badmonster on Thursday March 27, 2025 @02:51PM (#43496791)
yes ;)