--- /dev/null
+--- regex.3 2004-11-25 11:38:32.000000000 -0800
++++ regex.3.edit 2006-06-28 16:55:52.000000000 -0700
+@@ -41,8 +41,8 @@
+ .Os
+ .Sh NAME
+ .Nm regcomp ,
+-.Nm regexec ,
+ .Nm regerror ,
++.Nm regexec ,
+ .Nm regfree
+ .Nd regular-expression library
+ .Sh LIBRARY
+@@ -51,20 +51,29 @@
+ .In regex.h
+ .Ft int
+ .Fo regcomp
+-.Fa "regex_t * restrict preg" "const char * restrict pattern" "int cflags"
+-.Fc
+-.Ft int
+-.Fo regexec
+-.Fa "const regex_t * restrict preg" "const char * restrict string"
+-.Fa "size_t nmatch" "regmatch_t pmatch[restrict]" "int eflags"
++.Fa "regex_t *restrict preg"
++.Fa "const char *restrict pattern"
++.Fa "int cflags"
+ .Fc
+ .Ft size_t
+ .Fo regerror
+-.Fa "int errcode" "const regex_t * restrict preg"
+-.Fa "char * restrict errbuf" "size_t errbuf_size"
++.Fa "int errcode"
++.Fa "const regex_t *restrict preg"
++.Fa "char *restrict errbuf"
++.Fa "size_t errbuf_size"
++.Fc
++.Ft int
++.Fo regexec
++.Fa "const regex_t *restrict preg"
++.Fa "const char *restrict string"
++.Fa "size_t nmatch"
++.Fa "regmatch_t pmatch[restrict]"
++.Fa "int eflags"
+ .Fc
+ .Ft void
+-.Fn regfree "regex_t *preg"
++.Fo regfree
++.Fa "regex_t *preg"
++.Fc
+ .Sh DESCRIPTION
+ These routines implement
+ .St -p1003.2
+@@ -75,12 +84,11 @@
+ The
+ .Fn regcomp
+ function
+-compiles an RE written as a string into an internal form,
++compiles an RE, written as a string, into an internal form.
+ .Fn regexec
+-matches that internal form against a string and reports results,
++matches that internal form against a string and reports results.
+ .Fn regerror
+-transforms error codes from either into human-readable messages,
+-and
++transforms error codes from either into human-readable messages.
+ .Fn regfree
+ frees any dynamically-allocated storage used by the internal form
+ of an RE.