find completions' common prefix case-insensitively