regexp.h File Reference

Regular expression definitions. More...

#include "str.h"

Include dependency graph for regexp.h:

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

Go to the source code of this file.

Defines

#define MAX_MATCH   6

Functions

int reg_replace (char *pattern, char *replacement, char *string, str *result)
 Match pattern against string and, if match succeeds, and replace string with replacement substituting tokens \d with matched substrings.


Detailed Description

Regular expression definitions.

Definition in file regexp.h.


Define Documentation

#define MAX_MATCH   6

Definition at line 37 of file regexp.h.

Referenced by reg_match(), and reg_replace().


Function Documentation

int reg_replace ( char *  pattern,
char *  replacement,
char *  string,
str result 
)

Match pattern against string and, if match succeeds, and replace string with replacement substituting tokens \d with matched substrings.

Definition at line 109 of file regexp.c.

References LM_DBG, MAX_MATCH, reg_match(), and replace().

Referenced by do_query(), dp_can_connect_str(), enum_pv_query_3(), and is_from_user_enum_2().


Generated on Thu May 24 10:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6