#include "str.h"


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. | |
Definition in file regexp.h.
| #define MAX_MATCH 6 |
| 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().
1.5.6