hysteria

ii wrapper script
git clone git://git.2f30.org/hysteria
Log | Files | Refs | README | LICENSE

commit 43efcf115bf963f8492cd18cb3e5dff211ebd19e
parent 150655967d5830ae24dd0b6340cf5e4dff19f065
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 24 Nov 2014 23:41:06 +0100

config: match nickname with word-boundary

Diffstat:
Mconfig.def.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -15,9 +15,9 @@ static const char *wordcolor = COLOR_YELLOW; /* ignore message on match */ static char *regexignore = "^$"; /* match nickname */ -static char *regexnick = "(me|myself|irene)"; +static char *regexnick = "\\b(me|myself|irene)\\b"; /* highlight / color words */ -static char *regexword = "(me|myself|irene)"; +static char *regexword = "\\b(me|myself|irene)\\b"; /* nickname to match and align */ static const char *regexnickalign = "^[0-9]{2}:[0-9]{2} <([^>]+)>";