commit 43b5ee723df1a9b13a5d97de7aff780da48c1b31
parent a44006657c0956a83536c2adc6d8e55fd2bc9a2a
Author: sin <sin@2f30.org>
Date: Wed, 29 Oct 2014 14:25:21 +0000
Use "^$" instead of ""
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hysteria-highlight.c b/hysteria-highlight.c
@@ -37,7 +37,7 @@ static const char *regexserver = "^([0-9]{2}:[0-9]{2} -!- .*)$";
/* skip this prefix for each line (date part) */
static const char *regextimestamp = "^[0-9]{4}-[0-9]{2}-[0-9]{2} ";
/* ignore message on match */
-static const char *regexignore = "";
+static const char *regexignore = "^$";
/* highlight / color urls */
static const char *regexurl =
"(((https?|ftp)|mailto):(//)?[^ <>\"[:blank:]]*|(www|ftp)[0-9]?\\.[-a-z0-9.]+)";