Adjust timestamp regex to allow optional seconds

Fixes #13