Import re for the completer

The completer wasn't working. Turns out it was missing the `re` module.