]> Savannah Git Hosting - gnulib.git/commit
regex-quote: \} -> } in EREs
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jun 2022 16:55:28 +0000 (09:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Jun 2022 16:55:57 +0000 (09:55 -0700)
commitac58aead465ab8bea4223060e61c33eb265e8e85
treeb0b9c344b5a70780932d87e04c63b1dc1b9adfca
parent0153035f93d5e537efef9119676e120034ac912b
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 }.
ChangeLog
lib/regex-quote.c
tests/test-regex-quote.c