summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/plugins/irc/irc-command.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c0e29d74c..f4ac2db1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -44,6 +44,7 @@ Version 0.3.7 (under dev!)
hashtable_map_string, hdata_check_pointer, hdata_char, hdata_hashtable and
nicklist_get_next_item
* alias: add default alias umode => /mode $nick
+* irc: use extended regex in command /list
* irc: use redirection to get channel modes after update of modes on channel,
display output of /mode #channel, allow /mode without argument (display modes
of current channel or user modes on server buffer)
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index f7df667f2..03dc79c51 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -2246,7 +2246,7 @@ irc_command_list (void *data, struct t_gui_buffer *buffer, int argc,
if (ptr_server->cmd_list_regexp)
{
if ((ret = regcomp (ptr_server->cmd_list_regexp, ptr_regex,
- REG_NOSUB | REG_ICASE)) != 0)
+ REG_NOSUB | REG_ICASE | REG_EXTENDED)) != 0)
{
regerror (ret, ptr_server->cmd_list_regexp,
buf, sizeof(buf));