Re: [PATCH v8 5/5] regex.3: Further clarify the sole purpose of REG_NOSUB

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

 



Hi nab!

On 4/21/23 04:49, наб wrote:
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>

Patch applied.  Thanks,

Alex

> ---
>  man3/regex.3 | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
> 
> diff --git a/man3/regex.3 b/man3/regex.3
> index 55fddd88e..060e8a587 100644
> --- a/man3/regex.3
> +++ b/man3/regex.3
> @@ -96,16 +96,14 @@ .SS Compilation
>  searches using this pattern buffer will be case insensitive.
>  .TP
>  .B REG_NOSUB
> -Do not report position of matches.
> -The
> -.I nmatch
> -and
> -.I pmatch
> +Report only overall success.
>  .BR regexec ()
> -arguments will be ignored for this purpose (but
> +will use only
>  .I pmatch
> -may still be used for
> -.BR REG_STARTEND ).
> +for
> +.BR REG_STARTEND ,
> +ignoring
> +.IR nmatch .
>  .TP
>  .B REG_NEWLINE
>  Match-any-character operators don't match a newline.

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