bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regex module has dropped support for syntax tables


From: Paul Eggert
Subject: Re: regex module has dropped support for syntax tables
Date: Tue, 10 May 2022 18:01:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

On 5/9/22 14:03, Reuben Thomas wrote:
On Mon, 9 May 2022 at 20:29, Paul Eggert <eggert@cs.ucla.edu> wrote:

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.


Thanks! I didn't think of this before, is regex.texi supposed to document
GNU regex, then?

Oh my. For years I thought that gnulib/doc/regex.texi documents the regular expressions supported by glibc (and by Gnulib, which mimics glibc). Unfortunately it appears that I am wrong, and it's documentation for the old GNU regex package (however, with some edits by me that are appropriate only for glibc!).

Does anybody use gnulib/doc/regex.texi? If not, I suggest we remove it from Gnulib. It's not part of any package, and its presence is confusing both Rueben and me.



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.


That's a good suggestion I hadn't thought of, thanks. I had a look at Emacs
git, and it seems to use glibc regex, though?

It has two copies of the regex code, one from Gnulib (which is what you probably saw) and one just for Emacs. I meant the latter. It's in emacs/src/regex-emacs.[ch].



reply via email to

[Prev in Thread] Current Thread [Next in Thread]