Re: Non-capturing groups in Emacs-dialect regexes

2024-05-26 Thread Paul Eggert
On 2024-05-26 14:02, James Youngman wrote: Is this a known issue? If yes, was there a decision not to implement this in gnulib, or is it a to-do? Gnulib (which is very close to glibc) has never gotten around to implementing shy groups. It'd be a nice thing to add for both Gnulib and glibc,

What is the history behind the check-module script?

2024-05-26 Thread Collin Funk
I never looked at the check-module script until now. Was it supposed to be used as an automatic check to be run before committing or something? I noticed that it doesn't handle conditional dependencies like this: Dependencies: stat[test $NEED_STAT_PLEASE = 1] This diff should

Non-capturing groups in Emacs-dialect regexes

2024-05-26 Thread James Youngman
Findutils has a bug report about non-capturing ("shy") groups \(? in Emacs-dialect regular expressions ( https://savannah.gnu.org/bugs/index.php?65770). >From the Emacs Texinfo manual: ‘\(?: ... \)’ specifies a “shy group” that does not record the matched substring; you can’t refer back

Re: uchar-c23: Speed up mbrtoc32 on Solaris 11.4

2024-05-26 Thread Bruno Haible
Collin Funk wrote: > I'm not sure how long this would have taken to get caught without CI. I run the testdirs on various platforms occasionally. Without the CI, I would have noticed within a few months. The real question is: How could we have detected this without the test-mcel.c test? Our unit t