1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

core: add an example with a more complex regex in /help filter

This commit is contained in:
Sébastien Helleu
2015-03-24 06:56:15 +01:00
parent 9a0d6899f9
commit c2f07bddcb
19 changed files with 188 additions and 143 deletions
+4 -1
View File
@@ -7292,7 +7292,10 @@ command_init ()
" filter IRC join/action messages from nick \"toto\":\n"
" /filter add toto * nick_toto+irc_join,nick_toto+irc_action *\n"
" filter lines containing \"weechat sucks\" on IRC channel #weechat:\n"
" /filter add sucks irc.freenode.#weechat * weechat sucks"),
" /filter add sucks irc.freenode.#weechat * weechat sucks\n"
" filter lines that are strictly equal to \"WeeChat sucks\" on "
"all buffers:\n"
" /filter add sucks2 * * (?-i)^WeeChat sucks$"),
"list"
" || enable %(filters_names)|@"
" || disable %(filters_names)|@"