summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod164.stderr
diff options
context:
space:
mode:
authorM Farkas-Dyck <m@farkas-dyck.ca>2023-05-11 12:11:37 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-05-15 11:27:41 -0400
commite305e60cf507808fa31c456ef98295f8f7d00c9d (patch)
tree3e8469b0b7c408d0bb40b144747ffdba8a59895b /testsuite/tests/module/mod164.stderr
parent5b9e9300c3766a3ef4b19a2274ecc6e8c56fe86c (diff)
downloadhaskell-e305e60cf507808fa31c456ef98295f8f7d00c9d.tar.gz
Unbreak some tests with latest GNU grep, which now warns about stray '\'.
Confusingly, the testsuite mangled the error to say "stray /". We also migrate some tests from grep to grep -E, as it seems the author actually wanted an "POSIX extended" (a.k.a. sane) regex. Background: POSIX specifies 2 "regex" syntaxen: "basic" and "extended". Of these, only "extended" syntax is actually a regular expression. Furthermore, "basic" syntax is inconsistent in its use of the '\' character — sometimes it escapes a regex metacharacter, but sometimes it unescapes it, i.e. it makes an otherwise normal character become a metacharacter. This baffles me and it seems also the authors of these tests. Also, the regex(7) man page (at least on Linux) says "basic" syntax is obsolete. Nearly all modern tools and libraries are consistent in this use of the '\' character (of which many use "extended" syntax by default).
Diffstat (limited to 'testsuite/tests/module/mod164.stderr')
0 files changed, 0 insertions, 0 deletions