bugfix for regexp/regsub code-completion