diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 715e838d3e..cae394d96c 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,8 @@ +2011-03-08 Ramon Novoa + + * modules/pandora_module_regexp.cc: Added support for extended regular + expressions. + 2010-12-10 Ramon Novoa * bin/util/pandora_update.exe: Updated. Some paths may have been wrong. diff --git a/pandora_agents/win32/modules/pandora_module_regexp.cc b/pandora_agents/win32/modules/pandora_module_regexp.cc index ca9ebdab05..235a5dbc1d 100755 --- a/pandora_agents/win32/modules/pandora_module_regexp.cc +++ b/pandora_agents/win32/modules/pandora_module_regexp.cc @@ -42,7 +42,7 @@ Pandora_Module_Regexp::Pandora_Module_Regexp (string name, string source, string this->source = source; // Compile the regular expression - if (regcomp (&this->regexp, pattern.c_str (), 0) != 0) { + if (regcomp (&this->regexp, pattern.c_str (), REG_EXTENDED) != 0) { pandoraLog ("Invalid regular expression %s", pattern.c_str ()); }