[Asterisk-cvs] asterisk ast_expr.y,1.6,1.7
markster at lists.digium.com
markster at lists.digium.com
Mon Jun 21 14:34:21 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv14246
Modified Files:
ast_expr.y
Log Message:
Support extended regular expressions
Index: ast_expr.y
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr.y,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ast_expr.y 4 May 2004 03:23:35 -0000 1.6
+++ ast_expr.y 21 Jun 2004 18:20:17 -0000 1.7
@@ -826,7 +826,7 @@
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);
More information about the svn-commits
mailing list