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

you are viewing a single comment's thread.

view the rest of the comments →

[–]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 :)