diff options
Diffstat (limited to 'capsule/build_loglog.bash')
| -rw-r--r-- | capsule/build_loglog.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capsule/build_loglog.bash b/capsule/build_loglog.bash index e4bf8a6..0d50b5d 100644 --- a/capsule/build_loglog.bash +++ b/capsule/build_loglog.bash @@ -23,11 +23,11 @@ read_log_to_tmp() CURRENT_POST_FILENAME="" while read line; do if [[ -z "$CURRENT_POST_FILENAME" ]]; then - if [[ "$line" =~ (\#+)\ *([0-9]{4}-[0-9]{2}-[0-9]{2})\ * ]]; then + if [[ "$line" =~ (\#+)\ *([0-9]{4}-[0-9]{2}-[0-9]{2})(\.[0-9]+)?\ * ]]; then CURRENT_POST_HEADING="${BASH_REMATCH[1]}" DATE="${BASH_REMATCH[2]}" CURRENT_POST_FILENAME="$(new_filename $DATE)" - elif [[ "$line" =~ \=\>\ +([^\ ]+)\ +([0-9]{4}-[0-9]{2}-[0-9]{2})\ +(.*) ]]; then + elif [[ "$line" =~ \=\>\ +([^\ ]+)\ +([0-9]{4}-[0-9]{2}-[0-9]{2})(\.[0-9]+)?\ +(.*) ]]; then HREF="${BASH_REMATCH[1]}" DATE="${BASH_REMATCH[2]}" NAME="${BASH_REMATCH[3]}" |
