Added support for negative timestamps

Added a possible "-" character at the beginning of the regex to allow negative timestamps.