45     , lastCompletionLength{0}
 
   67     QString tabAbbrev = 
msgEdit->toPlainText()
 
   68                             .left(
msgEdit->textCursor().position())
 
   69                             .section(QRegExp(
"[^\\w\\d\\$:@--_\\[\\]{}|`^.\\\\]"), -1, -1);
 
   71     QRegExp regex(QString(
"^[-_\\[\\]{}|`^.\\\\]*").append(QRegExp::escape(tabAbbrev)),
 
   76         if (name == ownNick) {
 
   79         if (regex.indexIn(name) > -1) {
 
   99         auto cur = 
msgEdit->textCursor();
 
  100         cur.setPosition(cur.selectionEnd());
 
  103             msgEdit->textCursor().deletePreviousChar();