Fixed an issue on TimePeriod parse method. Updated regexp.