Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cregex.hpp File Reference
#include <boost/regex/config.hpp>
#include <boost/regex/v4/match_flags.hpp>
#include <boost/regex/v4/error_type.hpp>
#include <stddef.h>
Include dependency graph for cregex.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  regex_tA
 
struct  regex_tW
 
struct  regmatch_t
 

Macros

#define regcomp   regcompA
 
#define regerror   regerrorA
 
#define regexec   regexecA
 
#define regfree   regfreeA
 
#define regex_t   regex_tA
 

Typedefs

typedef ptrdiff_t regoff_t
 
typedef size_t regsize_t
 
typedef unsigned reg_error_t
 
typedef reg_error_t reg_errcode_t
 

Enumerations

enum  reg_comp_flags {
  REG_BASIC = 0000,
  REG_EXTENDED = 0001,
  REG_ICASE = 0002,
  REG_NOSUB = 0004,
  REG_NEWLINE = 0010,
  REG_NOSPEC = 0020,
  REG_PEND = 0040,
  REG_DUMP = 0200,
  REG_NOCOLLATE = 0400,
  REG_ESCAPE_IN_LISTS = 01000,
  REG_NEWLINE_ALT = 02000,
  REG_PERLEX = 04000,
  REG_PERL = REG_EXTENDED | REG_NOCOLLATE | REG_ESCAPE_IN_LISTS | REG_PERLEX,
  REG_AWK = REG_EXTENDED | REG_ESCAPE_IN_LISTS,
  REG_GREP = REG_BASIC | REG_NEWLINE_ALT,
  REG_EGREP = REG_EXTENDED | REG_NEWLINE_ALT,
  REG_ASSERT = 15,
  REG_INVARG = 16,
  REG_ATOI = 255,
  REG_ITOA = 0400
}
 
enum  reg_exec_flags {
  REG_NOTBOL = 00001,
  REG_NOTEOL = 00002,
  REG_STARTEND = 00004
}
 

Functions

BOOST_REGEX_DECL int
BOOST_REGEX_CCALL 
regcompA (regex_tA *, const char *, int)
 
BOOST_REGEX_DECL regsize_t
BOOST_REGEX_CCALL 
regerrorA (int, const regex_tA *, char *, regsize_t)
 
BOOST_REGEX_DECL int
BOOST_REGEX_CCALL 
regexecA (const regex_tA *, const char *, regsize_t, regmatch_t *, int)
 
BOOST_REGEX_DECL void
BOOST_REGEX_CCALL 
regfreeA (regex_tA *)
 
BOOST_REGEX_DECL int
BOOST_REGEX_CCALL 
regcompW (regex_tW *, const wchar_t *, int)
 
BOOST_REGEX_DECL regsize_t
BOOST_REGEX_CCALL 
regerrorW (int, const regex_tW *, wchar_t *, regsize_t)
 
BOOST_REGEX_DECL int
BOOST_REGEX_CCALL 
regexecW (const regex_tW *, const wchar_t *, regsize_t, regmatch_t *, int)
 
BOOST_REGEX_DECL void
BOOST_REGEX_CCALL 
regfreeW (regex_tW *)
 

Macro Definition Documentation

#define regcomp   regcompA
#define regerror   regerrorA
#define regex_t   regex_tA
#define regexec   regexecA
#define regfree   regfreeA

Typedef Documentation

typedef unsigned reg_error_t
typedef ptrdiff_t regoff_t
typedef size_t regsize_t

Enumeration Type Documentation

Enumerator
REG_BASIC 
REG_EXTENDED 
REG_ICASE 
REG_NOSUB 
REG_NEWLINE 
REG_NOSPEC 
REG_PEND 
REG_DUMP 
REG_NOCOLLATE 
REG_ESCAPE_IN_LISTS 
REG_NEWLINE_ALT 
REG_PERLEX 
REG_PERL 
REG_AWK 
REG_GREP 
REG_EGREP 
REG_ASSERT 
REG_INVARG 
REG_ATOI 
REG_ITOA 
Enumerator
REG_NOTBOL 
REG_NOTEOL 
REG_STARTEND 

Function Documentation

BOOST_REGEX_DECL int BOOST_REGEX_CCALL regcompA ( regex_tA ,
const char *  ,
int   
)
BOOST_REGEX_DECL int BOOST_REGEX_CCALL regcompW ( regex_tW ,
const wchar_t *  ,
int   
)
BOOST_REGEX_DECL regsize_t BOOST_REGEX_CCALL regerrorA ( int  ,
const regex_tA ,
char *  ,
regsize_t   
)
BOOST_REGEX_DECL regsize_t BOOST_REGEX_CCALL regerrorW ( int  ,
const regex_tW ,
wchar_t *  ,
regsize_t   
)
BOOST_REGEX_DECL int BOOST_REGEX_CCALL regexecA ( const regex_tA ,
const char *  ,
regsize_t  ,
regmatch_t ,
int   
)
BOOST_REGEX_DECL int BOOST_REGEX_CCALL regexecW ( const regex_tW ,
const wchar_t *  ,
regsize_t  ,
regmatch_t ,
int   
)