diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-21 18:20:17 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-21 18:20:17 +0000 |
commit | 4838f201e581bdfb715f4d9a5bd5ef2916ce5b1b (patch) | |
tree | 0fc04dedd92bd19db9ad454b788ff43055cf9373 /ast_expr.y | |
parent | e635fd67dd4658f00852c7d9ee56f64bacb95a99 (diff) |
Support extended regular expressions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3261 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-x | ast_expr.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ast_expr.y b/ast_expr.y index 17ac1e9f9..5125ec563 100755 --- a/ast_expr.y +++ b/ast_expr.y @@ -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); |