mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
Support extended regular expressions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -826,7 +826,7 @@ struct val *a, *b;
|
||||
to_string(b);
|
||||
|
||||
/* compile regular expression */
|
||||
if ((eval = regcomp (&rp, b->u.s, 0)) != 0) {
|
||||
if ((eval = regcomp (&rp, b->u.s, REG_EXTENDED)) != 0) {
|
||||
regerror (eval, &rp, errbuf, sizeof(errbuf));
|
||||
ast_log(LOG_WARNING,"regcomp() error : %s",errbuf);
|
||||
free_value(a);
|
||||
|
||||
Reference in New Issue
Block a user