2013-03-18 16:05:00             [core]  /filter  list 2013-03-18 16:05:00                              enable|disable|toggle [] 2013-03-18 16:05:00                              add [,...] 2013-03-18 16:05:00                              del |-all 2013-03-18 16:05:00             filter messages in buffers, to hide/show them according to tags or regex 2013-03-18 16:05:00                list: list all filters 2013-03-18 16:05:00              enable: enable filters (filters are enabled by default) 2013-03-18 16:05:00             disable: disable filters 2013-03-18 16:05:00              toggle: toggle filters 2013-03-18 16:05:00                name: filter name 2013-03-18 16:05:00                 add: add a filter 2013-03-18 16:05:00                 del: delete a filter 2013-03-18 16:05:00                -all: delete all filters 2013-03-18 16:05:00              buffer: comma separated list of buffers where filter is active: 2013-03-18 16:05:00                      - this is full name including plugin (example: "irc.freenode.#weechat") 2013-03-18 16:05:00                      - "*" means all buffers 2013-03-18 16:05:00                      - a name starting with '!' is excluded 2013-03-18 16:05:00                      - name can start or end with '*' to match many buffers 2013-03-18 16:05:00                tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit" 2013-03-18 16:05:00               regex: regular expression to search in line 2013-03-18 16:05:00                      - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' 2013-03-18 16:05:00                      - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') 2013-03-18 16:05:00                      - two regular expressions are created: one for prefix and one for message 2013-03-18 16:05:00                      - regex are case insensitive, they can start by "(?-i)" to become case sensitive 2013-03-18 16:05:00             The default key alt+'=' toggles filtering on/off. 2013-03-18 16:05:00             Tags most commonly used: 2013-03-18 16:05:00               no_filter, no_highlight, no_log, log0..log9 (log level), 2013-03-18 16:05:00               notify_none, notify_message, notify_private, notify_highlight, 2013-03-18 16:05:00               nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), 2013-03-18 16:05:00               irc_xxx (xxx is command name or number, see /server raw or /debug tags), 2013-03-18 16:05:00               irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. 2013-03-18 16:05:00             To see tags for lines in buffers: /debug tags 2013-03-18 16:05:00             Examples: 2013-03-18 16:05:00               use IRC smart filter on all buffers: 2013-03-18 16:05:00                 /filter add irc_smart * irc_smart_filter * 2013-03-18 16:05:00               use IRC smart filter on all buffers except those with "#weechat" in name: 2013-03-18 16:05:00                 /filter add irc_smart *,!*#weechat* irc_smart_filter * 2013-03-18 16:05:00               filter all IRC join/part/quit messages: 2013-03-18 16:05:00                 /filter add joinquit * irc_join,irc_part,irc_quit * 2013-03-18 16:05:00               filter nicks displayed when joining channels or with /names: 2013-03-18 16:05:00                 /filter add nicks * irc_366 * 2013-03-18 16:05:00               filter nick "toto" on IRC channel #weechat: 2013-03-18 16:05:00                 /filter add toto irc.freenode.#weechat nick_toto * 2013-03-18 16:05:00               filter lines containing "weechat sucks" on IRC channel #weechat: 2013-03-18 16:05:00                 /filter add sucks irc.freenode.#weechat * weechat sucks