Re: Issue in man page regex.3

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

 



Hi Helge,

At 2023-01-23T18:47:06+0100, Helge Kreutzmann wrote:
> On Sun, Jan 22, 2023 at 10:03:46PM +0100, Alejandro Colomar wrote:
> > On 1/22/23 20:31, Helge Kreutzmann wrote:
> > > Without further ado, the following was found:
> > > 
> > > Issue:    How can a variable (I<preg>) free memory?

It doesn't, but no claim is made that (by itself) it does.

> > > Isn't it B<regfree>() which frees the memory?

Yes.

> >  Supplying
> >  .BR regfree ()
> >  with a precompiled pattern buffer,
> > -.I preg
> > +.IR preg ,
> >  will free the memory allocated to the pattern buffer by the compiling
> >  process,
> >  .BR regcomp ().
> 
> I don't really see a change here? It's only the markup, that changed?

The addition of a comma makes clear that the subject corresponding to
the verb "will free" is "regfree", not "preg".

https://thecriticalreader.com/commas-names-titles/

Without the added comma, the sentence reads as if it has a comma splice,
and would thus be (strictly) invalid.

https://www.grammarly.com/blog/comma-splice/

Regards,
Branden

Attachment: signature.asc
Description: PGP 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