summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-28 19:04:14 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-28 19:04:14 +0100
commit30a50c6999b8ba312abe674470ac052e322211a1 (patch)
tree45a362e16421b47efd030861a2eb9f10fab3592b /src/core
parent540756bf5446f30b66b716027b4f8550a462f4fc (diff)
downloadweechat-30a50c6999b8ba312abe674470ac052e322211a1.zip
Fix bug with /ignore when mask begins with "|" (bug #26037)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c
index 6d42c1387..44f8c1e04 100644
--- a/src/core/wee-string.c
+++ b/src/core/wee-string.c
@@ -727,7 +727,7 @@ string_mask_to_regex (const char *mask)
char *result;
const char *ptr_mask;
int index_result;
- char *regex_special_char = ".[]{}()|?+";
+ char *regex_special_char = ".[]{}()?+";
if (!mask)
return NULL;