On 5/8/22 15:54, Reuben Thomas wrote:

I sympathise if the gnulib maintainers don't want to reintroduce them; in
that case, could their removal please be flagged up in the docs?

Sure, I installed the attached.

Also, do the maintainers have any better suggestion for what I should do
than revert to GNU regex 0.12 for a2ps? It relies on syntax tables for its
style sheets, and I don't want to have to introduce an incompatibility to a
mature program.

Perhaps you can transliterate the regexps using syntax-table features into those without? (I'm not familiar with the issue here.)

Failing that, you could also try GNU Emacs's regex implementation, which is derived from GNU regex 0.12, and which may have fewer bugs than regex 0.12.
From 2f2f597641b4350915ea64c2457587d24d3fc9e2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Mon, 9 May 2022 12:20:24 -0700
Subject: [PATCH] Say that it is not the old interface

---
 modules/regex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/regex b/modules/regex
index e8ad558642..b780427221 100644
--- a/modules/regex
+++ b/modules/regex
@@ -1,5 +1,8 @@
 Description:
 Regular expression matching.
+This matches the current GNU C Library, so its interface differs from
+the standalone GNU regex library which has long been decommissioned in
+favor of the GNU C Library interface.
 
 Files:
 lib/regex.h
-- 
2.34.1

Reply via email to