#include <QRegularExpression>
#include <THtmlParser>
#include <THttpUtility>
|
const QRegularExpression | HtmlTagReg ("<([a-zA-Z0-9]+\\s+(\"[^\"]*\"|'[^']*'|[^'\"<>\\(\\){};])*|/?[a-zA-Z0-9]+/?\\s*)>") |
|
const QRegularExpression | WordReg ("(\"[^\"]*\"|'[^']*'|[^'\"<>\\(\\){};/=\\s]*)") |
|
◆ HtmlTagReg()
const QRegularExpression HtmlTagReg |
( |
"<([a-zA-Z0-9]+\\s+(\"[^\"]*\"|'[^']*'|[^'\"<>\\(\\){};])*|/?[a-zA-Z0-9]+/?\\s*)>" |
| ) |
|
◆ WordReg()
const QRegularExpression WordReg |
( |
"(\"[^\"]*\"|'[^']*'|[^'\"<>\\(\\){};/=\\s]*)" |
| ) |
|