This commit is contained in:
Akash Mozumdar 2018-10-14 10:28:40 -04:00
parent e79bbe4c03
commit 273411d22e

View File

@ -63,9 +63,6 @@ namespace
RCode.remove(0, deref.captured(0).length()); RCode.remove(0, deref.captured(0).length());
} }
if (RCode.at(0).unicode() != L'@') return {};
RCode.remove(0, 1);
// @addr // @addr
QRegularExpressionMatch address = QRegularExpression("^@([[:xdigit:]]+)$").match(RCode); QRegularExpressionMatch address = QRegularExpression("^@([[:xdigit:]]+)$").match(RCode);
if (!address.hasMatch()) return {}; if (!address.hasMatch()) return {};