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
That’s a good idea actually. I hate writing regex, so I asked Gemini to do it just now. Once I explained it in the format it wanted: what the source would be, what I wanted filtered and the language I planned to use it with it spat out a perfect expression without me needing to even use my brain. Technology is wonderful.
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.
Yeah, I am exaggerating a bit, but I’ve not met anyone under the age of 25 that’s even remotely interested in putting in the effort to learn (anecdotal, I’m aware). Many have expressed wanting to learn, but then they never follow up when I try and pursue teaching anything.
And I’m not necessarily saying that the average person already understands them, but someone from our generation will probably pick them up far more quickly then your average Gen Z/Gen A.
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
That’s a good idea actually. I hate writing regex, so I asked Gemini to do it just now. Once I explained it in the format it wanted: what the source would be, what I wanted filtered and the language I planned to use it with it spat out a perfect expression without me needing to even use my brain. Technology is wonderful.
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.
Yeah, I am exaggerating a bit, but I’ve not met anyone under the age of 25 that’s even remotely interested in putting in the effort to learn (anecdotal, I’m aware). Many have expressed wanting to learn, but then they never follow up when I try and pursue teaching anything.
And I’m not necessarily saying that the average person already understands them, but someone from our generation will probably pick them up far more quickly then your average Gen Z/Gen A.