2005/5/9

     
 

pcreposix_h

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

pcreposix.h File Reference

#include <stdlib.h>

Compounds

struct  regex_t
struct  regmatch_t

Defines

#define REG_ICASE   0x01
#define REG_NEWLINE   0x02
#define REG_NOTBOL   0x04
#define REG_NOTEOL   0x08
#define REG_EXTENDED   0
#define REG_NOSUB   0

Typedefs

typedef int regoff_t

Enumerations

enum  {
  REG_ASSERT = 1, REG_BADBR, REG_BADPAT, REG_BADRPT,
  REG_EBRACE, REG_EBRACK, REG_ECOLLATE, REG_ECTYPE,
  REG_EESCAPE, REG_EMPTY, REG_EPAREN, REG_ERANGE,
  REG_ESIZE, REG_ESPACE, REG_ESUBREG, REG_INVARG,
  REG_NOMATCH
}

Functions

int regcomp (regex_t *, const char *, int)
int regexec (regex_t *, const char *, size_t, regmatch_t *, int)
size_t regerror (int, const regex_t *, char *, size_t)
void regfree (regex_t *)


Define Documentation

#define REG_EXTENDED   0
 

#define REG_ICASE   0x01
 

#define REG_NEWLINE   0x02
 

#define REG_NOSUB   0
 

#define REG_NOTBOL   0x04
 

#define REG_NOTEOL   0x08
 


Typedef Documentation

typedef int regoff_t
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
REG_ASSERT 
REG_BADBR 
REG_BADPAT 
REG_BADRPT 
REG_EBRACE 
REG_EBRACK 
REG_ECOLLATE 
REG_ECTYPE 
REG_EESCAPE 
REG_EMPTY 
REG_EPAREN 
REG_ERANGE 
REG_ESIZE 
REG_ESPACE 
REG_ESUBREG 
REG_INVARG 
REG_NOMATCH 


Function Documentation

int regcomp regex_t ,
const char *  ,
int 
 

size_t regerror int  ,
const regex_t ,
char *  ,
size_t 
 

int regexec regex_t ,
const char *  ,
size_t  ,
regmatch_t ,
int 
 

void regfree regex_t  )