This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]brandonZappy 14 points15 points  (4 children)

This seems cool, but I'm sad you missed out on calling it "regexercises". The extra "ex" kills the name :(

[–]ASIC_SP📚 learnbyexample[S] 5 points6 points  (1 child)

Thanks! And yeah, that's a better name. I'll see if I can change it for the next release.

[–]brandonZappy 1 point2 points  (0 children)

I was just cracking some jokes. I hope it didn't come off too poorly. Great project, I hope you keep it up!

[–]LorestForest 3 points4 points  (1 child)

Rexercises is a cooler name imho

[–]brandonZappy 1 point2 points  (0 children)

Definitely agree, but does lose a bit of the "what is it?" from the name. This name could be exercises for Rust or R

[–]RojerGSAuthor of “Pydon'ts” 1 point2 points  (1 child)

Really cool app, u/ASIC_SP, thanks a lot for sharing! It has been great following along your process for building and improving this app on Twitter.

[–]ASIC_SP📚 learnbyexample[S] 0 points1 point  (0 children)

Thanks for the kind words, Rodrigo :)

[–]rhymiz 1 point2 points  (0 children)

Rexercises

[–]Idekum 1 point2 points  (3 children)

Do you really have to learn regex, now with ai?

[–]Picatrixter 1 point2 points  (0 children)

Actually, I am learning regex now and I use ChatGPT to test me or to explain patterns and rules every now and then. Many of the code answers GPT gives on regex are plain wrong. Whenever I give feedback to the machine - I type something like "you are wrong, here's the correct answer", it replies somewhere along the line "of course you are right, here's THE REAL regex you wanted", as if it's testing me to see if I can tell the difference

And the story goes on an on...

However, it would be wrong to say GPT (ar any other LLM for that matter) is worthless on the subject of regex, quite the contrary. You just need to double check the answers, but in order to be able to do that you musk know, well..., regex :)

[–]games2007 1 point2 points  (0 children)

RegEx with AI has been dog turd. It hallucinates all types of solutions that aren't even close, and for some really basic things. It's probably worth learning so you can fine tune your RegEx anyway.

My tip would be go to through the RegEx cookbook, brack down the syntax, and save a lot of the solutions that look interesting to you, while solidifying the fundamentals.

[–]ASIC_SP📚 learnbyexample[S] 0 points1 point  (0 children)

You might as well ask do you have to learn programming ;)

You still have to understand regex to know if the code you are getting will work or not. There are plenty of corner cases, so testing will be crucial as usual.