version 1.1.1.4, 2013/07/22 08:25:56
|
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 |