don't try to parse empty strings or nonsense like '?=test'