Apache HTTPD
Functions
util_regex.c File Reference
#include "apr.h"
#include "apr_lib.h"
#include "apr_pools.h"
#include "apr_strings.h"
#include "ap_config.h"
#include "ap_regex.h"
#include "httpd.h"

Go to the source code of this file.

Functions

static apr_status_t rxplus_cleanup (void *preg)
 
ap_rxplus_tap_rxplus_compile (apr_pool_t *pool, const char *pattern)
 
int ap_rxplus_exec (apr_pool_t *pool, ap_rxplus_t *rx, const char *pattern, char **newpattern)
 
void ap_rxplus_match (ap_rxplus_t *rx, int n, int *len, const char **match)
 
charap_rxplus_pmatch (apr_pool_t *pool, ap_rxplus_t *rx, int n)
 

Function Documentation

◆ ap_rxplus_compile()

ap_rxplus_t * ap_rxplus_compile ( apr_pool_t pool,
const char pattern 
)

use a case-insensitive match

don't match newlines against '.' etc

^ will not match against start-of-string

$ will not match against end-of-string

< Don't implicitely add AP_REG_DEFAULT options

Definition at line 31 of file util_regex.c.

◆ ap_rxplus_exec()

int ap_rxplus_exec ( apr_pool_t pool,
ap_rxplus_t rx,
const char pattern,
char **  newpattern 
)

Definition at line 141 of file util_regex.c.

◆ ap_rxplus_match()

void ap_rxplus_match ( ap_rxplus_t rx,
int  n,
int len,
const char **  match 
)

Definition at line 193 of file util_regex.c.

◆ ap_rxplus_pmatch()

char * ap_rxplus_pmatch ( apr_pool_t pool,
ap_rxplus_t rx,
int  n 
)

Definition at line 205 of file util_regex.c.

◆ rxplus_cleanup()

static apr_status_t rxplus_cleanup ( void *  preg)
static

Definition at line 25 of file util_regex.c.