On 5/11/22 09:37, Reuben Thomas wrote:
Only thing I spotted offhand was that \s and \S mean something entirely different in glibc as syntax classes are not programmable.I think the documentation as I've edited it is correct.
Sorry, I should have been more specific. In glibc regex, \s is a synonym for [[:space:]] and \S is a synonym for [^[:space:]], so the discussion in regex.texi of @samp{\s@var{class}} etc. is wrong on a syntactic level not just a semantic level.