diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-04 09:55:28 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-06-04 09:55:57 -0700 |
commit | ac58aead465ab8bea4223060e61c33eb265e8e85 (patch) | |
tree | b0b9c344b5a70780932d87e04c63b1dc1b9adfca /ChangeLog | |
parent | 0153035f93d5e537efef9119676e120034ac912b (diff) | |
download | gnulib-ac58aead465ab8bea4223060e61c33eb265e8e85.tar.gz |
regex-quote: \} -> } in EREs
* lib/regex-quote.c (ere_special): Don’t use \} in EREs,
as POSIX says the interpretation is undefined.
* tests/test-regex-quote.c (test_bre, test_ere):
Add tests for }.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2022-06-04 Paul Eggert <eggert@cs.ucla.edu> + regex-quote: \} -> } in EREs + * lib/regex-quote.c (ere_special): Don’t use \} in EREs, + as POSIX says the interpretation is undefined. + * tests/test-regex-quote.c (test_bre, test_ere): + Add tests for }. + dfa: do not warn about \] and \} * lib/dfa.c (lex): Do not warn about \] and \}, since they’re surely universally supported even though POSIX says their |