mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 16:23:14 +02:00
trigger: escape chars in regex replacement (when trigger is created)
This commit is contained in:
@@ -72,6 +72,7 @@ struct t_trigger_regex
|
||||
char *str_regex; /* regex to search for replacement */
|
||||
regex_t *regex; /* compiled regex */
|
||||
char *replace; /* replacement text */
|
||||
char *replace_escaped; /* repl. text (with chars escaped) */
|
||||
};
|
||||
|
||||
struct t_trigger
|
||||
|
||||
Reference in New Issue
Block a user