diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-05-20 19:47:34 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-05-21 02:41:20 -0700 |
commit | 2169fa36c9235d13bf64e20009fc3a639ca5670a (patch) | |
tree | d82d552f45010905895a49119113fa3597c90ec4 /tests | |
parent | e24ab83682f2124b7c8fa59ab05b250e1f4dae94 (diff) | |
download | grep-2169fa36c9235d13bf64e20009fc3a639ca5670a.tar.gz |
tests: make spencer1.tests more POSIX-compliant
* tests/spencer1.tests: Do not test the regular expression a\x as
POSIX says the interpretation of \x is undefined and we may want
to warn about it in the future, to allow for future extensions.
Instead, test a\\x, a[\]x, and ax.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spencer1.tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/spencer1.tests b/tests/spencer1.tests index 50581e86..d7e72c45 100644 --- a/tests/spencer1.tests +++ b/tests/spencer1.tests @@ -58,7 +58,9 @@ 0@a\(b@a(b 0@a\(*b@ab 0@a\(*b@a((b -1@a\x@a\x +0@a\\x@a\x +0@a[\]x@a\x +1@ax@a\x 1@abc)@- 2@(abc@- 0@((a))@abc |