Re: regex module has dropped support for syntax tables

2022-05-11 Thread Eric Blake
On Tue, May 10, 2022 at 06:01:18PM -0700, Paul Eggert wrote: > 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. GNU m4 was considering using it for 2.0 (as documentation for the d

Re: regex module has dropped support for syntax tables

2022-05-11 Thread Reuben Thomas
On Wed, 11 May 2022 at 02:01, Paul Eggert wrote: > > > 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 a

Re: regex module has dropped support for syntax tables

2022-05-10 Thread Paul Eggert
On 5/9/22 14:03, Reuben Thomas wrote: On Mon, 9 May 2022 at 20:29, Paul Eggert 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 attac

Re: regex module has dropped support for syntax tables

2022-05-09 Thread Reuben Thomas
On Mon, 9 May 2022 at 20:29, Paul Eggert 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 thin

Re: regex module has dropped support for syntax tables

2022-05-09 Thread Paul Eggert
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 rever

Re: regex module has dropped support for syntax tables

2022-05-09 Thread Reuben Thomas
On Mon, 9 May 2022 at 02:53, Bruno Haible wrote: > Reuben Thomas asked: > > Also, do the maintainers have any better suggestion for what I should do > > than revert to GNU regex 0.12 for a2ps? > > AFAIU, regex syntax tables assume a 7-bit or 8-bit text encoding. But > nearly everyone nowadays use

Re: regex module has dropped support for syntax tables

2022-05-08 Thread Bruno Haible
Reuben Thomas asked: > Also, do the maintainers have any better suggestion for what I should do > than revert to GNU regex 0.12 for a2ps? AFAIU, regex syntax tables assume a 7-bit or 8-bit text encoding. But nearly everyone nowadays uses a multibyte text encoding. So, I think you will need to look

regex module has dropped support for syntax tables

2022-05-08 Thread Reuben Thomas
I am working on GNU a2ps. I have tracked down a test failure to the lack of support for syntax tables in gnulib's regex module (removed by commit 151e40bb39 which switches from GNU regex 0.12 to the glibc version). This took me quite a long time to work out, since syntax tables are still documente