Fixed regex to parse nulls