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