summaryrefslogtreecommitdiffstats
path: root/Bash/weechatlog
diff options
context:
space:
mode:
Diffstat (limited to 'Bash/weechatlog')
-rwxr-xr-xBash/weechatlog2
1 files changed, 1 insertions, 1 deletions
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