forked from Mirrors/freeswitch
make switch_regex_match() work with grouping
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16555 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5391355af7
commit
6f40722c17
|
@ -174,7 +174,7 @@ SWITCH_DECLARE(switch_status_t) switch_regex_match_partial(const char *target, c
|
|||
int error_offset = 0; /* Holds the offset of an error */
|
||||
pcre *pcre_prepared = NULL; /* Holds the compiled regex */
|
||||
int match_count = 0; /* Number of times the regex was matched */
|
||||
int offset_vectors[2]; /* not used, but has to exist or pcre won't even try to find a match */
|
||||
int offset_vectors[255]; /* not used, but has to exist or pcre won't even try to find a match */
|
||||
int pcre_flags = 0;
|
||||
|
||||
/* Compile the expression */
|
||||
|
|
Loading…
Reference in New Issue