Your regex won't match if there is no h/m/s, will it?