I agree that regex is an important thing to learn. Not sure any old LLM would do a very good job, and I hope that no tool replaces people actually learning how to write regex.
I’m not sure what you mean about the average person outside the millennial generation not understanding them, though. Maybe I’m mistaken, but I don’t think the ‘average’ person in any generation knows what regex is. Unless there is some reason the average millennial was actually exposed to them and forced to understand them?
As for being doubtful that anyone could understand them aside from a millennial, I assume you’re being hyperbolic? Sort of sounds like “Kids these days can never learn what I learned!” (I’m teasing).
Anyway I’m in agreement with you. This thread did remind me of a pretty neat project that, while still requiring domain knowledge, could save some time and be a good learning tool without being as fallible of a crutch as an LLM.
Have not tried it, and am not an experienced developer, so I am curious to your thoughts/criticisms: https://github.com/pemistahl/grex
I’m sure LLMs can get it right, but if I was going to use a tool for something like that, I’d want one that was more deterministic like the linked tool claims to be.