Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/regex Document ragasub(3) & regnsub(3) implementati...



details:   https://anonhg.NetBSD.org/src/rev/b8334382e8ee
branches:  trunk
changeset: 830140:b8334382e8ee
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Feb 26 14:04:43 2018 +0000

description:
Document ragasub(3) & regnsub(3) implementation detail

Added note:
  Only 10 elements of the rm array can be used.

Sponsored by <The NetBSD Foundation>

diffstat:

 lib/libc/regex/regex.3 |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 11f62e019808 -r b8334382e8ee lib/libc/regex/regex.3
--- a/lib/libc/regex/regex.3    Mon Feb 26 12:26:24 2018 +0000
+++ b/lib/libc/regex/regex.3    Mon Feb 26 14:04:43 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: regex.3,v 1.25 2017/07/03 21:32:49 wiz Exp $
+.\"    $NetBSD: regex.3,v 1.26 2018/02/26 14:04:43 kamil Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -65,7 +65,7 @@
 .\"
 .\"    @(#)regex.3     8.4 (Berkeley) 3/20/94
 .\"
-.Dd January 8, 2016
+.Dd February 26, 2018
 .Dt REGEX 3
 .Os
 .Sh NAME
@@ -509,6 +509,9 @@
 of the matches from a previous
 .Fn regexec
 call.
+Only 10 elements of the
+.Fa rm
+array can be used.
 The
 .Fa str
 argument contains the source string to apply the transformation to.



Home | Main Index | Thread Index | Old Index