summaryrefslogtreecommitdiff
path: root/usr/src/man/man3gen/regexpr.3gen
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3gen/regexpr.3gen')
-rw-r--r--usr/src/man/man3gen/regexpr.3gen49
1 files changed, 23 insertions, 26 deletions
diff --git a/usr/src/man/man3gen/regexpr.3gen b/usr/src/man/man3gen/regexpr.3gen
index 6f28b96635..42ac5c38f2 100644
--- a/usr/src/man/man3gen/regexpr.3gen
+++ b/usr/src/man/man3gen/regexpr.3gen
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH regexpr 3GEN "29 Dec 1996" "SunOS 5.11" "String Pattern-Matching Library Functions"
+.TH REGEXPR 3GEN "Dec 29, 1996"
.SH NAME
regexpr, compile, step, advance \- regular expression compile and match
routines
@@ -134,10 +134,10 @@ regular expression.
.in +2
.nf
#include<regexpr.h>
- . . .
+ . . .
if(compile(*argv, (char *)0, (char *)0) == (char *)0)
regerr(regerrno);
- . . .
+ . . .
if (step(linebuf, expbuf))
succeed(\|);
.fi
@@ -167,23 +167,21 @@ the non-zero error numbers indicated below:
.sp
.TS
-tab();
-cw(2.75i) cw(2.75i)
-lw(2.75i) lw(2.75i)
-.
-ERRORMEANING
-11Range endpoint too large.
-16Bad Number.
-25"\edigit" out or range.
-36Illegal or missing delimiter.
-41No remembered string search.
-42\e(~\e) imbalance.
-43Too many \e(.
-44More than 2 numbers given in \e[~\e}.
-45} expected after \e.
-46First number exceeds second in \e{~\e}.
-49[] imbalance.
-50 Regular expression overflow.
+c c
+l l .
+ERROR MEANING
+11 Range endpoint too large.
+16 Bad Number.
+25 "\edigit" out or range.
+36 Illegal or missing delimiter.
+41 No remembered string search.
+42 \e(~\e) imbalance.
+43 Too many \e(.
+44 More than 2 numbers given in \e[~\e}.
+45 } expected after \e.
+46 First number exceeds second in \e{~\e}.
+49 [] imbalance.
+50 Regular expression overflow.
.TE
.SH ATTRIBUTES
@@ -194,13 +192,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO