Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/regex Underscore is a word character (thanks uwe@)



details:   https://anonhg.NetBSD.org/src/rev/0349c13737ad
branches:  trunk
changeset: 1019476:0349c13737ad
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 11 18:49:18 2021 +0000

description:
Underscore is a word character (thanks uwe@)

diffstat:

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

diffs (21 lines):

diff -r f207398d8c8d -r 0349c13737ad lib/libc/regex/regex.3
--- a/lib/libc/regex/regex.3    Thu Mar 11 18:16:50 2021 +0000
+++ b/lib/libc/regex/regex.3    Thu Mar 11 18:49:18 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: regex.3,v 1.31 2021/03/11 17:13:29 wiz Exp $
+.\" $NetBSD: regex.3,v 1.32 2021/03/11 18:49:18 christos Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994 Henry Spencer.
 .\" Copyright (c) 1992, 1993, 1994
@@ -225,9 +225,9 @@
 .It \ev
 Vertical Tab
 .It \ew
-Alias for [[:alnum:]]
+Alias for [[:alnum:]_]
 .It \eW
-Alias for [^[:alnum:]]
+Alias for [^[:alnum:]_]
 .It \e'
 Matches the end of the subject string (the string to be matched).
 .It \e`



Home | Main Index | Thread Index | Old Index