Deleted Added
full compact
re_comp.3 (57686) re_comp.3 (68994)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)re_comp.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)re_comp.3 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libcompat/4.3/re_comp.3 57686 2000-03-02 09:14:21Z sheldonh $
33.\" $FreeBSD: head/lib/libcompat/4.3/re_comp.3 68994 2000-11-21 12:03:30Z ben $
34.\"
35.Dd June 4, 1993
36.Dt RE_COMP 3
37.Os
38.Sh NAME
39.Nm re_comp ,
40.Nm re_exec
41.Nd regular expression handler
34.\"
35.Dd June 4, 1993
36.Dt RE_COMP 3
37.Os
38.Sh NAME
39.Nm re_comp ,
40.Nm re_exec
41.Nd regular expression handler
42.Sh LIBRARY
43.Lb libcompat
42.Sh SYNOPSIS
43.Fd #include <unistd.h>
44.Ft char *
45.Fn re_comp "const char *s"
46.Ft int
47.Fn re_exec "const char *s"
48.Sh DESCRIPTION
44.Sh SYNOPSIS
45.Fd #include <unistd.h>
46.Ft char *
47.Fn re_comp "const char *s"
48.Ft int
49.Fn re_exec "const char *s"
50.Sh DESCRIPTION
51.Bf -symbolic
49This interface is made obsolete by
50.Xr regex 3 .
52This interface is made obsolete by
53.Xr regex 3 .
51It is available from the compatibility library, libcompat.
54.Ef
52.Pp
53The
54.Fn re_comp
55function
56compiles a string into an internal form suitable for pattern matching.
57The
58.Fn re_exec
59function

--- 67 unchanged lines hidden ---
55.Pp
56The
57.Fn re_comp
58function
59compiles a string into an internal form suitable for pattern matching.
60The
61.Fn re_exec
62function

--- 67 unchanged lines hidden ---