completions: return matched text too (needed by ipython notebook).