提交 bbf213de authored 作者: Mathieu Rene's avatar Mathieu Rene

update regex

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12496 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e599375a
...@@ -166,7 +166,7 @@ static switch_bool_t limit_execute_sql_callback(switch_mutex_t *mutex, char *sql ...@@ -166,7 +166,7 @@ static switch_bool_t limit_execute_sql_callback(switch_mutex_t *mutex, char *sql
return ret; return ret;
} }
static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "\\w+:\\w+:\\w+" }; static switch_xml_config_string_options_t limit_config_dsn = { NULL, 0, "(.+?):(.+?):(.+)" };
static switch_xml_config_item_t config_settings[] = { static switch_xml_config_item_t config_settings[] = {
SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn, SWITCH_CONFIG_ITEM("odbc-dsn", SWITCH_CONFIG_STRING, 0, &globals.odbc_dsn, NULL, &limit_config_dsn,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论