Fix the regexp for timestamp