diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-24 06:56:15 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-03-24 06:56:15 +0100 |
commit | c2f07bddcb8bdf79d8742bce06e836ad99843fb0 (patch) | |
tree | 22591184d761ded19b4e2b36efd074514fd67097 /src/core/wee-command.c | |
parent | 9a0d6899f9e1f88560ac717d2320fd457a76e8f5 (diff) | |
download | weechat-c2f07bddcb8bdf79d8742bce06e836ad99843fb0.zip |
core: add an example with a more complex regex in /help filter
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r-- | src/core/wee-command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index fab768fff..aa5d3a48c 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -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)|@" |