|
From: | Paul Eggert |
Subject: | Re: regex documentation |
Date: | Wed, 11 May 2022 10:24:58 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |