I asked ChatGPT about primes ending in 2 to make it prove a point and it proved the point far better than I could have hoped for.

Please do not be a fool who trusts ChatGPT with anything outside your field of expertise, and even then double or triple check what it tells you if you must use it.

@alinanorakari I tried to use it to get a hint on a regex I got stuck with. It gave me 4 correctly looking wrong answers I had to refuse, then a correct one, but not working in subset of regex used in sed, and when repeatedly told that it doesn't work in sed, it got into a loop of "Oh, I'm sorry, you are correct, this won't work. The correct regex is: repeats the same regex

To be fair, at the end, it got unstuck and even provided explanation for why isn't it working, but yea... Whoever uses it for something they don't already know enough to verify the result is setting themselves up for a failure.

@shine at that point would it have been faster and more reliable debugging the regex with a tool like regex101?
@alinanorakari I was using it. The issue was that I don't do that often and completely forgot about problems with greedy matching and my regex didn't work as I thought it should. ChatGPT was actually really helpful in guiding me towards the right answer, but it would be really bad if I didn't know how to ask and how to verify what it gave me.