summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-09 15:37:13 +0000
committerschwarze <schwarze@openbsd.org>2014-12-09 15:37:13 +0000
commit89d38d05ea956d0681cd6e99cb34fbfdd937bbc6 (patch)
treed9268c5efbb4d28f84687461abbad4fe00335fae /lib/libc/regex
parentavoid void arithmetic. from david carlier (diff)
downloadwireguard-openbsd-89d38d05ea956d0681cd6e99cb34fbfdd937bbc6.tar.xz
wireguard-openbsd-89d38d05ea956d0681cd6e99cb34fbfdd937bbc6.zip
put back some information what the character classes actually mean;
while here, remove the lie that regex(3) character classes would depend on the locale; ok jmc@
Diffstat (limited to 'lib/libc/regex')
-rw-r--r--lib/libc/regex/re_format.77
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7
index 5d1bea489d2..0d8ce59a8b8 100644
--- a/lib/libc/regex/re_format.7
+++ b/lib/libc/regex/re_format.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: re_format.7,v 1.19 2014/12/09 14:39:37 jmc Exp $
+.\" $OpenBSD: re_format.7,v 1.20 2014/12/09 15:37:14 schwarze Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
.\"
@@ -280,7 +280,10 @@ blank lower upper
cntrl print xdigit
.Ed
.Pp
-A locale may provide other character classes.
+These stand for the character classes defined in
+.Xr isalnum 3 ,
+.Xr isalpha 3 ,
+and so on.
A character class may not be used as an endpoint of a range.
.Pp
There are two special cases** of bracket expressions: