Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/regex/re_format.7,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/regex/re_format.7,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/lib/libc/regex/re_format.7 1993/11/10 23:35:16 1.1 +++ src/lib/libc/regex/re_format.7 1994/02/23 21:17:49 1.2 @@ -1,4 +1,4 @@ -.TH REGEX 7 "17 May 1993" +.TH REGEX 7 "7 Feb 1994" .BY "Henry Spencer" .SH NAME regex \- POSIX 1003.2 regular expressions @@ -133,12 +133,14 @@ There are two special cases\(dg of brack the bracket expressions `[[:<:]]' and `[[:>:]]' match the null string at the beginning and end of a word respectively. A word is defined as a sequence of -.I alnum -characters (as defined by -.IR ctype (3)) +word characters which is neither preceded nor followed by +word characters. +A word character is an .I alnum -characters. +character (as defined by +.IR ctype (3)) +or an underscore. This is an extension, compatible with but not specified by POSIX 1003.2, and should be used with @@ -227,3 +229,5 @@ Avoid using them. 1003.2's specification of case-independent matching is vague. The ``one case implies all cases'' definition given above is current consensus among implementors as to the right interpretation. +.PP +The syntax for word boundaries is incredibly ugly.