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

single pipes and ampersands are used in regex queries