pcreposix.h File Reference

#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 Documentation

#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

Definition at line 59 of file pcreposix.h.

Referenced by main(), and regcomp().

#define REG_EXTENDED   0

Definition at line 67 of file pcreposix.h.

#define REG_ICASE   0x0001

Definition at line 55 of file pcreposix.h.

Referenced by main(), and regcomp().

#define REG_NEWLINE   0x0002

Definition at line 56 of file pcreposix.h.

Referenced by main(), and regcomp().

#define REG_NOSUB   0x0020

Definition at line 60 of file pcreposix.h.

Referenced by main(), and regcomp().

#define REG_NOTBOL   0x0004

Definition at line 57 of file pcreposix.h.

Referenced by main(), and regexec().

#define REG_NOTEOL   0x0008

Definition at line 58 of file pcreposix.h.

Referenced by main(), and regexec().

#define REG_STARTEND   0x0080

Definition at line 62 of file pcreposix.h.

Referenced by regexec().

#define REG_UTF8   0x0040

Definition at line 61 of file pcreposix.h.

Referenced by main(), and regcomp().


Typedef Documentation

typedef int regoff_t

Definition at line 102 of file pcreposix.h.


Enumeration Type Documentation

anonymous enum

Definition at line 71 of file pcreposix.h.


Function Documentation

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().

PCREPOSIX_EXP_DECL size_t regerror ( int  ,
const regex_t ,
char *  ,
size_t   
)

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().


Generated on Tue Jul 5 15:57:31 2011 for ROOT_528-00b_version by  doxygen 1.5.1