Update username/location match in chat to be more lenient

This commit is contained in:
Ryan Huffman 2014-04-17 15:50:40 -07:00
parent 4f236c6bf4
commit 6437f76ed2

View file

@ -29,7 +29,7 @@
const int NUM_MESSAGES_TO_TIME_STAMP = 20;
const QRegularExpression regexLinks("((?:(?:ftp)|(?:https?))://\\S+)");
const QRegularExpression regexHifiLinks("\\s([#@]\\S+)");
const QRegularExpression regexHifiLinks("([#@]\\S+)");
ChatWindow::ChatWindow(QWidget* parent) :
FramelessDialog(parent, 0, POSITION_RIGHT),