diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-config.c | 8 | ||||
-rw-r--r-- | src/core/wee-string.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 34ded8019..02bdc6fa4 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -2226,10 +2226,10 @@ config_weechat_init_options () "highlight_regex", "string", N_("POSIX extended regular expression used to check if a message has " "highlight or not, at least one match in string must be surrounded " - "by word chars (alphanumeric, \"-\", \"_\" or \"|\"), regular " - "expression is case insensitive (use \"(?-i)\" at beginning to make " - "it case sensitive), examples: \"flashcode|flashy\", " - "\"(?-i)FlashCode|flashy\""), + "by delimiters (chars different from: alphanumeric, \"-\", \"_\" " + "and \"|\"), regular expression is case insensitive (use \"(?-i)\" " + "at beginning to make it case sensitive), examples: " + "\"flashcode|flashy\", \"(?-i)FlashCode|flashy\""), NULL, 0, 0, "", NULL, 0, NULL, NULL, &config_change_highlight_regex, NULL, NULL, NULL); config_look_highlight_tags = config_file_new_option ( weechat_config_file, ptr_section, diff --git a/src/core/wee-string.c b/src/core/wee-string.c index b9bf36850..bfd1105f0 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -985,7 +985,7 @@ string_has_highlight (const char *string, const char *highlight_words) /* * Checks if a string has a highlight using a compiled regular expression (any - * match in string must be surrounded by word chars). + * match in string must be surrounded by delimiters). */ int @@ -1034,7 +1034,7 @@ string_has_highlight_regex_compiled (const char *string, regex_t *regex) /* * Checks if a string has a highlight using a regular expression (any match in - * string must be surrounded by word chars). + * string must be surrounded by delimiters). */ int |