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

trigger: allow chars '\' and '(' as delimiter in regex

This commit is contained in:
Sebastien Helleu
2014-03-02 08:40:17 +01:00
parent ddf3e9043b
commit cc5ab76186
14 changed files with 44 additions and 58 deletions
-2
View File
@@ -534,8 +534,6 @@ trigger_regex_split (const char *str_regex,
delimiter = weechat_strndup (ptr_regex, pos - ptr_regex);
if (!delimiter)
goto memory_error;
if ((strcmp (delimiter, "\\") == 0) || (strcmp (delimiter, "(") == 0))
goto format_error;
length_delimiter = strlen (delimiter);