Fix duplicate namespaces in completion
Skip regexp when selecting form for cpp

Closes #188.