Re: [PATCH v6 1/8] regex.3: Desoupify regexec() description

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

 



Hi!

On 4/21/23 02:33, наб wrote:
> Hi!
> 
> On Fri, Apr 21, 2023 at 01:24:16AM +0200, Alejandro Colomar wrote:
>> On 4/20/23 21:36, наб wrote:
>>> diff --git a/man3/regex.3 b/man3/regex.3
>>> index bedb97e87..47fe661d2 100644
>>> --- a/man3/regex.3
>>> +++ b/man3/regex.3
>>> @@ -105,12 +105,10 @@ .SS Compilation
>>>  .SS Matching
>>>  .BR regexec ()
>>>  is used to match a null-terminated string
>>> -against the precompiled pattern buffer,
>>> -.IR preg .
>>> -.I nmatch
>>> -and
>>> -.I pmatch
>>> -are used to provide information regarding the location of any matches.
>>> +against the compiled pattern buffer in
>>> +.IR *preg ,
>>> +which must have been initialised with
>>> +.BR regexec ().
>> This patch removes the nmatch and pmatch info before presumably we add
>> it in a subsequent patch.
> It doesn't and we don't ‒
> the documentation for nmatch and pmatch never leaves Match offsets.
> 
> This patch just kills an extraneous, glib, and inaccurate description
> in Matching.
> 
> There's another glib description not ten lines above in REG_NOSUB.
> You don't need to keep the third one.

Ahhh, that's right.  Thanks!  Patch applied.

Cheers,
Alex

> 
> Best,

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux