So, I think the behavior is around these assumptions:

1. There is always one example
2. The example returned is always a complete string.

SO, failure to find *one* example means someone typed in malformed input.  I agree with "dynamic" completion, it's possible that the first assumption is bad, so we should revisit that.