parse either double or single quotes