improve time regex