Re: Issue in man page regex.3

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

 



Hello Branden,
On Mon, Jan 23, 2023 at 01:03:26PM -0600, G. Branden Robinson wrote:
> 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/


Thanks, I missed the comma. Yes, this makes it clear.

Greetings

        Helge


-- 
      Dr. Helge Kreutzmann                     debian@xxxxxxxxxxxxx
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

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