#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | regex_t |
struct | regmatch_t |
Defines | |
#define | REG_ICASE 0x0001 |
#define | REG_NEWLINE 0x0002 |
#define | REG_NOTBOL 0x0004 |
#define | REG_NOTEOL 0x0008 |
#define | REG_DOTALL 0x0010 |
#define | REG_NOSUB 0x0020 |
#define | REG_UTF8 0x0040 |
#define | REG_STARTEND 0x0080 |
#define | REG_EXTENDED 0 |
#define | PCREPOSIX_EXP_DECL extern |
#define | PCREPOSIX_EXP_DEFN extern |
Typedefs | |
typedef int | regoff_t |
Enumerations | |
enum | |
Functions | |
PCREPOSIX_EXP_DECL int | regcomp (regex_t *, const char *, int) |
PCREPOSIX_EXP_DECL int | regexec (const regex_t *, const char *, size_t, regmatch_t *, int) |
PCREPOSIX_EXP_DECL size_t | regerror (int, const regex_t *, char *, size_t) |
PCREPOSIX_EXP_DECL void | regfree (regex_t *) |
#define PCREPOSIX_EXP_DECL extern |
Definition at line 126 of file pcreposix.h.
#define PCREPOSIX_EXP_DEFN extern |
Definition at line 127 of file pcreposix.h.
#define REG_DOTALL 0x0010 |
#define REG_EXTENDED 0 |
Definition at line 67 of file pcreposix.h.
#define REG_ICASE 0x0001 |
#define REG_NEWLINE 0x0002 |
#define REG_NOSUB 0x0020 |
#define REG_NOTBOL 0x0004 |
#define REG_NOTEOL 0x0008 |
#define REG_STARTEND 0x0080 |
#define REG_UTF8 0x0040 |
typedef int regoff_t |
Definition at line 102 of file pcreposix.h.
anonymous enum |
Definition at line 71 of file pcreposix.h.
PCREPOSIX_EXP_DECL int regcomp | ( | regex_t * | , | |
const char * | , | |||
int | ||||
) |
Definition at line 222 of file pcreposix.c.
References eint, NULL, PCRE_CASELESS, pcre_compile2(), PCRE_DOTALL, pcre_info(), PCRE_MULTILINE, PCRE_NO_AUTO_CAPTURE, PCRE_UTF8, regex_t::re_erroffset, regex_t::re_nsub, regex_t::re_pcre, REG_DOTALL, REG_ICASE, REG_NEWLINE, REG_NOSUB, and REG_UTF8.
Referenced by el_match(), and main().
Definition at line 164 of file pcreposix.c.
References int, length, NULL, pstring, regex_t::re_erroffset, size_t, and sprintf().
Referenced by main().
PCREPOSIX_EXP_DECL int regexec | ( | const regex_t * | , | |
const char * | , | |||
size_t | , | |||
regmatch_t * | , | |||
int | ||||
) |
PCREPOSIX_EXP_DECL void regfree | ( | regex_t * | ) |
Definition at line 199 of file pcreposix.c.
References pcre_free, and regex_t::re_pcre.
Referenced by el_match(), and main().