fix time regex group

Now the time group is correctly matched.

Fixes #1