1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

irc: use extended regex in command /list

This commit is contained in:
Sebastien Helleu
2012-01-06 13:26:23 +01:00
parent 80d1a52304
commit 82a9ed3f9c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)
+1 -1
View File
@@ -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));