From 31000dec7040800c2a918b1194fffc8ff85736a1 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 2 Apr 2019 00:08:29 +0200 Subject: Bugfix: Regular expression --- Bash/weechatlog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bash') diff --git a/Bash/weechatlog b/Bash/weechatlog index a1d7f04..ade12b8 100755 --- a/Bash/weechatlog +++ b/Bash/weechatlog @@ -33,7 +33,7 @@ done; shift $((OPTIND-1)) PATTERN_DATE="\([0-9]*\)-\([0-9]*\)-\([0-9]*\)" # References: 1, 2, 3 PATTERN_TIME="\([0-9]*\):\([0-9]*\):\([0-9]*\)" # References: 4, 5, 6 -PATTERN="${PATTERN_DATE} ${PATTERN_TIME}\t\([^\s]*\)\t\(.*\)" +PATTERN="${PATTERN_DATE} ${PATTERN_TIME}\t\([^ ]*\)\t\(.*\)" #=============================================================================== # Replace part -- cgit v1.2.3