On Wed, 11 May 2022 at 21:49, Paul Eggert <egg...@cs.ucla.edu> wrote:

> On 5/11/22 11:09, Reuben Thomas wrote:
> > Sorry, I don't follow. The concrete example given is: \Sw matches any
> > character that is
> > not word-constituent. That seems to be [^[:alnum:]]?
>
> In glibc regex, \Sw matches a nonspace followed by a 'w'. That is, it is
> equivalent to [^[:space:]]w and it has a different meaning from the
> decommissioned GNU regex meaning.
>

Ah, got it now!

I'm assuming that the goal of gnulib/doc/regex.texi is to document the
> regular expression syntax implemented by glibc, grep, etc. Does that
> match your assumption.
>

Yes. I'll revise the patch.

-- 
https://rrt.sc3d.org

Reply via email to