Qt
Installation
apt-get install essential cmake gdb qt-unified-linux-x64-2.0.5-online.run #Benutzer: qt.io <at> h*.de ln -s /opt/Qt/5.8/gcc_64/bin /usr/lib/x86_64-linux-gnu/qt5
RegExpr
QRegularExpression regExpr("(\\d+)x(\\d+)"); QRegularExpressionMatch match = regExpr.match(line); if (match.hasMatch()){ QString width = match.captured(1); QString height = match.captured(2); } QRegularExpression re("(\\w+)"); QRegularExpressionMatchIterator i = re.globalMatch(line); while(i.hasNext()){ QRegularExpressionMatch match = i.next(); QString word = match.captured(1); }