2011-03-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc: Added support for extended regular expressions. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
71c838cd31
commit
27f0bad099
|
@ -1,3 +1,8 @@
|
|||
2011-03-08 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* modules/pandora_module_regexp.cc: Added support for extended regular
|
||||
expressions.
|
||||
|
||||
2010-12-10 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/util/pandora_update.exe: Updated. Some paths may have been wrong.
|
||||
|
|
|
@ -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 ());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue