I'm generally much better at writing regex than ChatGPT. Though I will say, I needed the regex for ISO 3339 date format just yesterday for validation and copilot/Claude provided a more specific version than Google search. I still have to go back and double check the corporate standard as I suspect we only allow offsets from UTC and all implementations I looked at are too permissive.
I've had middling experience with bash. The scripts I wrote are generally petty basic. Set a few variables based on the current project and then execute some gcloud or Tekton commands. And I don't write them often so it finds and fixes things I often forget like not being allowed to have spaces around =.
I think the more externalities that need to be considered to come up with a correct answer, the less reliable ChatGPT is because there are a lot of externalities it doesn't really know to consider. Bash has a huge number of externalities that might affect the correct way of doing something.
I should experiment with more functional languages. "Pure functions" are really good at minimizing externalities. Worth investigating.