go-test.exp: rewrite errchk regexp quoting
authorIan Lance Taylor <iant@golang.org>
Wed, 9 Dec 2020 23:43:44 +0000 (15:43 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 Dec 2020 23:46:19 +0000 (15:46 -0800)
commit0c2200e4198df9294aba102519f662a907596623
tree9415bca69cdc4185ab142fcca0e5af07a1371dba
parent7d9767cb8eea0f21c5b23b0183c53840e0433397
go-test.exp: rewrite errchk regexp quoting

* go.test/go-test.exp (errchk): Rewrite regexp quoting to use
curly braces, making it much simpler.
gcc/testsuite/go.test/go-test.exp