1
0
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:
Sebastien Helleu
2014-02-13 18:44:43 +01:00
parent c06cfb25ce
commit 0ac6ebe532
3 changed files with 19 additions and 8 deletions
+1
View File
@@ -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