Perl-совместимые регулярные выражения (Perl-compatible regular expressions)
PCRE NATIVE API BASIC FUNCTIONS
pcre *pcre_compile(const char *
pattern, int
options,
const char **
errptr, int *
erroffset,
const unsigned char *
tableptr);
pcre *pcre_compile2(const char *
pattern, int
options,
int *
errorcodeptr,
const char **
errptr, int *
erroffset,
const unsigned char *
tableptr);
pcre_extra *pcre_study(const pcre *
code, int
options,
const char **
errptr);
void pcre_free_study(pcre_extra *
extra);
int pcre_exec(const pcre *
code, const pcre_extra *
extra,
const char *
subject, int
length, int
startoffset,
int
options, int *
ovector, int
ovecsize);
int pcre_dfa_exec(const pcre *
code, const pcre_extra *
extra,
const char *
subject, int
length, int
startoffset,
int
options, int *
ovector, int
ovecsize,
int *
workspace, int
wscount);