Loner@lemmy.world to Programmer Humor@programming.devEnglish · 2 years ago"AI is gonne take our jobs." The AI:lemmy.worldimagemessage-square30linkfedilinkarrow-up1186arrow-down13
arrow-up1183arrow-down1image"AI is gonne take our jobs." The AI:lemmy.worldLoner@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square30linkfedilink
minus-squareryathal@sh.itjust.workslinkfedilinkarrow-up6arrow-down1·2 years agoIf you know even a little about how an LLM works it’s obvious why regex is basically impossible for it. I suspect perl has similar problems, but no one is capable of actually validating that.
minus-squareIgnotum@lemmy.worldlinkfedilinkarrow-up1·2 years agoWhat do you mean it’s impossible for it? I know how LLMs work but I don’t know if any such limitations Write me a regex that matches a letter repeated four times, followed by a 3 or 4 digit number Here’s your regex: ([a-zA-Z])\1{3}\d{3,4}
If you know even a little about how an LLM works it’s obvious why regex is basically impossible for it. I suspect perl has similar problems, but no one is capable of actually validating that.
What do you mean it’s impossible for it? I know how LLMs work but I don’t know if any such limitations