diff --git a/ChangeLog b/ChangeLog index 808cd818d..c0e29d74c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ v0.3.7-dev, 2012-01-06 Version 0.3.7 (under dev!) -------------------------- +* core: use extended regex in filters (patch #7616) * core: save current mouse state in option weechat.look.mouse (set option when mouse state is changed with command /mouse) * core: add type "hashtable" for hdata diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c index d2c0b4e10..3b3432e1b 100644 --- a/src/gui/gui-filter.c +++ b/src/gui/gui-filter.c @@ -285,7 +285,7 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name, if (regex1) { if (regcomp (regex1, regex_prefix, - REG_NOSUB | REG_ICASE) != 0) + REG_NOSUB | REG_ICASE | REG_EXTENDED) != 0) { free (regex_prefix); free (regex1); @@ -298,7 +298,7 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name, if (regex2) { if (regcomp (regex2, pos_regex_message, - REG_NOSUB | REG_ICASE) != 0) + REG_NOSUB | REG_ICASE | REG_EXTENDED) != 0) { if (regex_prefix) free (regex_prefix);