Re: [PATCH v4 1/6] regex.3: Fix subsection headings

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

 



Hi!

On 4/20/23 15:24, наб wrote:
> Hi!
> 
> On Thu, Apr 20, 2023 at 03:13:54PM +0200, Alejandro Colomar wrote:
>> On 4/20/23 15:02, наб wrote:
>>> @@ -159,7 +159,7 @@ or
>>>  .B REG_NEWLINE
>>>  processing.
>>>  This flag is a BSD extension, not present in POSIX.
>>> -.SS Byte offsets
>>> +.SS Match offsets
>> I think it might be a bit clearer as "Subexpression match offsets" or
>> something like that?  What do you think?
> Nah; in a significant amount of scenarios you don't care about
> subexpressions at all, and the one thing you're guaranteed to get is,
> well, the non-subexpression match.
> Saying "Subexpression match offsets" to mean "Match offsets, including
> of subexpressions" is more confusing, and which offsets are returned is
> explained in running text.

Ahh, sorry; I was myself confused.  I thought the section was only about
subexpressions, which is why I found confusing that the title was not
more explicit.  Being about the main match + subexp, your title is better.

I'll apply this patch in a moment, after I push my SYNOPSIS patch, based
on your 2/6, since I found there are 2 places where _Nullable should go,
not one.

Best,
Alex

> 
> Best,

P.S.: That comma without continuation feels very awkward to me :)

-- 
<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