Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/regex improve wording.



details:   https://anonhg.NetBSD.org/src/rev/5c9ca1df9367
branches:  trunk
changeset: 953516:5c9ca1df9367
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 11 16:36:41 2021 +0000

description:
improve wording.

diffstat:

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

diffs (34 lines):

diff -r 6fdb01973b98 -r 5c9ca1df9367 lib/libc/regex/regex.3
--- a/lib/libc/regex/regex.3    Thu Mar 11 16:34:12 2021 +0000
+++ b/lib/libc/regex/regex.3    Thu Mar 11 16:36:41 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.29 2021/03/11 15:12:51 christos Exp $
+.\" $NetBSD: regex.3,v 1.30 2021/03/11 16:36:41 christos Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
 .\" Copyright (c) 1992, 1993, 1994
@@ -200,8 +200,10 @@
 .Dv N
 where
 .Dv N
-is between
-.Dv [1-9] .
+is a single digit number between 
+.Dv 1 
+and 
+.Dv 9 .
 .It \ea
 Visual Bell
 .It \eb
@@ -227,9 +229,9 @@
 .It \eW
 Alias for [^[:alnum:]]
 .It \e'
-Matches the end of the subject.
+Matches the end of the subject string (the string to be matched).
 .It \e`
-Matches the beginning of the subject.
+Matches the beginning of the subject string.
 .El
 .Pp
 This is an extension,



Home | Main Index | Thread Index | Old Index