version 1.1.1.3, 2012/10/09 09:19:17
|
version 1.1.1.5, 2014/06/15 19:46:04
|
Line 1
|
Line 1
|
.TH PCREPOSIX 3 "09 January 2012" "PCRE 8.30" |
.TH PCREPOSIX 3 "09 January 2012" "PCRE 8.30" |
.SH NAME |
.SH NAME |
PCRE - Perl-compatible regular expressions. |
PCRE - Perl-compatible regular expressions. |
.SH "SYNOPSIS OF POSIX API" | .SH "SYNOPSIS" |
.rs |
.rs |
.sp |
.sp |
.B #include <pcreposix.h> |
.B #include <pcreposix.h> |
.PP |
.PP |
.SM | .nf |
.B int regcomp(regex_t *\fIpreg\fP, const char *\fIpattern\fP, |
.B int regcomp(regex_t *\fIpreg\fP, const char *\fIpattern\fP, |
.ti +5n | .B " int \fIcflags\fP);" |
.B int \fIcflags\fP); | .B int regexec(regex_t *\fIpreg\fP, const char *\fIstring\fP, |
.PP | |
.B int regexec(regex_t *\fIpreg\fP, const char *\fIstring\fP, |
.B int regexec(regex_t *\fIpreg\fP, const char *\fIstring\fP, |
.ti +5n | .B " size_t \fInmatch\fP, regmatch_t \fIpmatch\fP[], int \fIeflags\fP);" |
.B size_t \fInmatch\fP, regmatch_t \fIpmatch\fP[], int \fIeflags\fP); | .B " size_t regerror(int \fIerrcode\fP, const regex_t *\fIpreg\fP," |
.PP | .B " char *\fIerrbuf\fP, size_t \fIerrbuf_size\fP);" |
.B size_t regerror(int \fIerrcode\fP, const regex_t *\fIpreg\fP, | .sp |
.ti +5n | |
.B char *\fIerrbuf\fP, size_t \fIerrbuf_size\fP); | |
.PP | |
.B void regfree(regex_t *\fIpreg\fP); |
.B void regfree(regex_t *\fIpreg\fP); |
|
.fi |
. |
. |
.SH DESCRIPTION |
.SH DESCRIPTION |
.rs |
.rs |
Line 31 expression 8-bit library. See the
|
Line 28 expression 8-bit library. See the
|
.\" |
.\" |
documentation for a description of PCRE's native API, which contains much |
documentation for a description of PCRE's native API, which contains much |
additional functionality. There is no POSIX-style wrapper for PCRE's 16-bit |
additional functionality. There is no POSIX-style wrapper for PCRE's 16-bit |
library. | and 32-bit library. |
.P |
.P |
The functions described here are just wrapper functions that ultimately call |
The functions described here are just wrapper functions that ultimately call |
the PCRE native API. Their prototypes are defined in the \fBpcreposix.h\fP |
the PCRE native API. Their prototypes are defined in the \fBpcreposix.h\fP |