Process Hacker
pcreposix.h File Reference
#include <stdlib.h>

Go to the source code of this file.

Data Structures

struct  regex_t
 
struct  regmatch_t
 

Macros

#define REG_ICASE   0x0001 /* Maps to PCRE_CASELESS */
 
#define REG_NEWLINE   0x0002 /* Maps to PCRE_MULTILINE */
 
#define REG_NOTBOL   0x0004 /* Maps to PCRE_NOTBOL */
 
#define REG_NOTEOL   0x0008 /* Maps to PCRE_NOTEOL */
 
#define REG_DOTALL   0x0010 /* NOT defined by POSIX; maps to PCRE_DOTALL */
 
#define REG_NOSUB   0x0020 /* Maps to PCRE_NO_AUTO_CAPTURE */
 
#define REG_UTF8   0x0040 /* NOT defined by POSIX; maps to PCRE_UTF8 */
 
#define REG_STARTEND   0x0080 /* BSD feature: pass subject string by so,eo */
 
#define REG_NOTEMPTY   0x0100 /* NOT defined by POSIX; maps to PCRE_NOTEMPTY */
 
#define REG_UNGREEDY   0x0200 /* NOT defined by POSIX; maps to PCRE_UNGREEDY */
 
#define REG_UCP   0x0400 /* NOT defined by POSIX; maps to PCRE_UCP */
 
#define REG_EXTENDED   0
 
#define PCREPOSIX_EXP_DECL
 
#define PCREPOSIX_EXP_DEFN
 

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

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 *)
 

Macro Definition Documentation

#define PCREPOSIX_EXP_DECL

Definition at line 139 of file pcreposix.h.

#define PCREPOSIX_EXP_DEFN

Definition at line 141 of file pcreposix.h.

#define REG_DOTALL   0x0010 /* NOT defined by POSIX; maps to PCRE_DOTALL */

Definition at line 59 of file pcreposix.h.

#define REG_EXTENDED   0

Definition at line 70 of file pcreposix.h.

#define REG_ICASE   0x0001 /* Maps to PCRE_CASELESS */

Definition at line 55 of file pcreposix.h.

#define REG_NEWLINE   0x0002 /* Maps to PCRE_MULTILINE */

Definition at line 56 of file pcreposix.h.

#define REG_NOSUB   0x0020 /* Maps to PCRE_NO_AUTO_CAPTURE */

Definition at line 60 of file pcreposix.h.

#define REG_NOTBOL   0x0004 /* Maps to PCRE_NOTBOL */

Definition at line 57 of file pcreposix.h.

#define REG_NOTEMPTY   0x0100 /* NOT defined by POSIX; maps to PCRE_NOTEMPTY */

Definition at line 63 of file pcreposix.h.

#define REG_NOTEOL   0x0008 /* Maps to PCRE_NOTEOL */

Definition at line 58 of file pcreposix.h.

#define REG_STARTEND   0x0080 /* BSD feature: pass subject string by so,eo */

Definition at line 62 of file pcreposix.h.

#define REG_UCP   0x0400 /* NOT defined by POSIX; maps to PCRE_UCP */

Definition at line 65 of file pcreposix.h.

#define REG_UNGREEDY   0x0200 /* NOT defined by POSIX; maps to PCRE_UNGREEDY */

Definition at line 64 of file pcreposix.h.

#define REG_UTF8   0x0040 /* NOT defined by POSIX; maps to PCRE_UTF8 */

Definition at line 61 of file pcreposix.h.

Typedef Documentation

typedef int regoff_t

Definition at line 105 of file pcreposix.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
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 

Definition at line 74 of file pcreposix.h.

Function Documentation

PCREPOSIX_EXP_DECL int regcomp ( regex_t ,
const char *  ,
int   
)

Definition at line 247 of file pcreposix.c.

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

Definition at line 189 of file pcreposix.c.

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 224 of file pcreposix.c.