fix regex to match on negative values as well