diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-06 09:01:49 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-06 09:14:18 +0100 |
commit | b2605902dbb1888f76ccd4c039f5546322661c48 (patch) | |
tree | 4fd6fc5e7349cd04177305f0951d44a1891d6539 | |
parent | 39561b91469ec4bd7a39167ed3c85ededbd88580 (diff) | |
download | weechat-b2605902dbb1888f76ccd4c039f5546322661c48.zip |
trigger: use explicit command "s" in regex of default triggers
-rw-r--r-- | src/plugins/trigger/trigger-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c index 4ccd3b54d..9f20db852 100644 --- a/src/plugins/trigger/trigger-config.c +++ b/src/plugins/trigger/trigger-config.c @@ -93,7 +93,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "modifier", "5000|input_text_display;5000|history_add;5000|irc_command_auth", "", - "==^(" + "s==^(" "(/(msg|m|quote) +(-server +[^ ]+ +)?nickserv +(" "id|" "identify|" @@ -121,7 +121,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "modifier", "5000|input_text_display;5000|history_add;5000|irc_command_auth", "", - "==^(/(msg|m|quote) +(-server +[^ ]+ +)?nickserv +register +)([^ ]+)(.*)" + "s==^(/(msg|m|quote) +(-server +[^ ]+ +)?nickserv +register +)([^ ]+)(.*)" "==${re:1}${hide:*,${re:4}}${re:5}", "", "", @@ -142,7 +142,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "modifier", "5000|irc_message_auth", "", - "==^(.*(" + "s==^(.*(" "id|" "identify|" "set +password|" @@ -167,7 +167,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "modifier", "5000|input_text_display;5000|history_add", "", - "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)" + "s==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)" "==${re:1}${hide:*,${re:4}}${re:5}" "", "", |