FreeSWITCH API Documentation  1.7.0
Macros | Typedefs | Functions
switch_regex.h File Reference

Regex Header. More...

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

Go to the source code of this file.


#define switch_regex_safe_free(re)


typedef struct real_pcre switch_regex_t


switch_regex_tswitch_regex_compile (const char *pattern, int options, const char **errorptr, int *erroroffset, const unsigned char *tables)
int switch_regex_copy_substring (const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int size)
void switch_regex_free (void *data)
int switch_regex_perform (const char *field, const char *expression, switch_regex_t **new_re, int *ovector, uint32_t olen)
void switch_perform_substitution (switch_regex_t *re, int match_count, const char *data, const char *field_data, char *substituted, switch_size_t len, int *ovector)
switch_status_t switch_regex_match (const char *target, const char *expression)
 Function to evaluate an expression against a string. More...
switch_status_t switch_regex_match_partial (const char *target, const char *expression, int *partial_match)
 Function to evaluate an expression against a string. More...
void switch_capture_regex (switch_regex_t *re, int match_count, const char *field_data, int *ovector, const char *var, switch_cap_callback_t callback, void *user_data)
void switch_regex_set_var_callback (const char *var, const char *val, void *user_data)
void switch_regex_set_event_header_callback (const char *var, const char *val, void *user_data)

Detailed Description

Regex Header.

Definition in file switch_regex.h.