19#ifndef NETSURF_UTILS_REGEX_H_
20#define NETSURF_UTILS_REGEX_H_
32#define REG_ICASE (1 << 1)
33#define REG_NEWLINE (1 << 2)
34#define REG_NOSUB (1 << 3)
53int regcomp(
regex_t *restrict preg,
const char *restrictregex,
int cflags);
55size_t regerror(
int errorcode,
const regex_t *restrict preg,
char *restrict errbuf,
size_t errbuf_size);
57int regexec(
const regex_t *restrict preg,
const char *restrict
string,
size_t nmatch,
regmatch_t pmatch[restrict],
int eflags);
size_t regerror(int errorcode, const regex_t *restrict preg, char *restrict errbuf, size_t errbuf_size)
int regexec(const regex_t *restrict preg, const char *restrict string, size_t nmatch, regmatch_t pmatch[restrict], int eflags)
void regfree(regex_t *preg)
int regcomp(regex_t *restrict preg, const char *restrictregex, int cflags)