[Chapel Merge] Make a prediff more portable

Branch: refs/heads/main
Revision: 07f1ed4
Author: e-kayrakli
Link: Make a prediff more portable by e-kayrakli · Pull Request #20366 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20366 from e-kayrakli/fix-comm-errors-prediff

Make a prediff more portable

This prediff was failing on darwin. Use -r and more general regex.

[Trivial, not reviewed]

Test passes on linux64 and darwin.

Modified Files:
M test/library/standard/Communication/errors.prediff

Compare: https://github.com/chapel-lang/chapel/compare/bf488d3c9769...07f1ed490fa7