summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-05-21 01:38:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-05-21 02:41:20 -0700
commita368a60eb81ea6e3264e0c8c2cb12f2ee7f0585d (patch)
treebb635fe6a73b75f387af5f4ede2bf8c98d0b5a1d /NEWS
parent2169fa36c9235d13bf64e20009fc3a639ca5670a (diff)
downloadgrep-a368a60eb81ea6e3264e0c8c2cb12f2ee7f0585d.tar.gz
grep: assume POSIX.1-2017 for [:space:]
* src/dfasearch.c (dfawarn): Always call dfaerror now, regardless of POSIXLY_CORRECT. * tests/warn-char-classes: Omit test of POSIX.1-2008 behavior, since POSIX.1-2017 allows the GNU behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fb0e4cf1..bf2ee50e 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,9 @@ GNU grep NEWS -*- outline -*-
release 2.5.3 (2007), now warn that they are obsolescent and should
be replaced by grep -E and grep -F.
+ Regular expressions like [:space:] are now errors even if
+ POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior.
+
** Bug fixes
In locales using UTF-8 encoding, the regular expression '.' no