allow single pipes and ampersands; use max-edits for fuzzy search