More permissive formula parsing