summaryrefslogtreecommitdiff
path: root/src/core/wee-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-string.c')
-rw-r--r--src/core/wee-string.c4
1 files changed, 2 insertions, 2 deletions
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