bug-gnulib
[Top][All Lists]
Advanced

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

Re: regex documentation


From: Paul Eggert
Subject: Re: regex documentation
Date: Wed, 11 May 2022 13:49:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

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.

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.



reply via email to

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