Fix available snips completion popup

This was broken in 0631587. The code used to use the lookup trigger as
a regex, which changed partially in 0631587.

Fixes #148.