projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3f9d5
)
Support extended regular expressions
author
Mark Spencer
<markster@digium.com>
Mon, 21 Jun 2004 18:20:17 +0000
(18:20 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 21 Jun 2004 18:20:17 +0000
(18:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3261
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
ast_expr.y
patch
|
blob
|
history
diff --git
a/ast_expr.y
b/ast_expr.y
index
17ac1e9
..
5125ec5
100755
(executable)
--- 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);