Updated the number parsing regex to include negative numbers and negative decimals