Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

include/pcreposix.h File Reference

PCRE definitions. More...

#include <stdlib.h>

Include dependency graph for include/pcreposix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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


Detailed Description

PCRE definitions.

Definition in file include/pcreposix.h.


Define Documentation

#define REG_EXTENDED   0
 

UNUSED!

Definition at line 44 of file include/pcreposix.h.

Referenced by add_alias_internal(), add_proxy(), add_redirect_internal(), add_setenvif_core(), ap_proxy_send_dir_filter(), cmd_rewritecond(), cmd_rewriterule(), dirsection(), filesection(), header_inout_cmd(), is_header_regex(), main(), proxysection(), re_check(), set_and_comp_regexp(), ssl_expr_yyparse(), and urlsection().

#define REG_ICASE   0x01
 

Ignore case

Definition at line 32 of file include/pcreposix.h.

Referenced by add_setenvif_core(), cmd_rewritecond(), cmd_rewriterule(), main(), regcomp(), and ssl_expr_yyparse().

#define REG_NEWLINE   0x02
 

Don't match newlines with wildcards

Definition at line 34 of file include/pcreposix.h.

Referenced by main(), and regcomp().

#define REG_NOSUB   0
 

UNUSED!

Definition at line 46 of file include/pcreposix.h.

Referenced by add_setenvif_core(), header_inout_cmd(), is_header_regex(), main(), re_check(), and ssl_expr_yyparse().

#define REG_NOTBOL   0x04
 

Don't match BOL

Definition at line 36 of file include/pcreposix.h.

Referenced by main(), and regexec().

#define REG_NOTEOL   0x08
 

Don't match EOL

Definition at line 38 of file include/pcreposix.h.

Referenced by main(), and regexec().


Typedef Documentation

typedef int regoff_t
 

Definition at line 81 of file include/pcreposix.h.


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 

Definition at line 50 of file include/pcreposix.h.


Function Documentation

int regcomp regex_t ,
const char *  ,
int 
 

Definition at line 197 of file pcreposix.c.

Referenced by AP_DECLARE(), and main().

size_t regerror int  ,
const regex_t ,
char *  ,
size_t 
 

Definition at line 139 of file pcreposix.c.

Referenced by AP_DECLARE(), and main().

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

Referenced by main().

void regfree regex_t  ) 
 

Definition at line 174 of file pcreposix.c.

Referenced by AP_DECLARE(), main(), and regex_cleanup().