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:
@@ -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)
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user