diff options
author | Thomas Lange <code@nerdmind.de> | 2019-04-02 00:08:29 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2019-04-02 00:08:29 +0200 |
commit | 31000dec7040800c2a918b1194fffc8ff85736a1 (patch) | |
tree | d9bd4456b68e4186265ff2109543c9f95205da68 /Bash | |
parent | e4951db8b4ce100ea216c4d5569830550925c52c (diff) | |
download | snippets-31000dec7040800c2a918b1194fffc8ff85736a1.tar.gz snippets-31000dec7040800c2a918b1194fffc8ff85736a1.tar.xz snippets-31000dec7040800c2a918b1194fffc8ff85736a1.zip |
Bugfix: Regular expression
Diffstat (limited to 'Bash')
-rwxr-xr-x | Bash/weechatlog | 2 |
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 |