| 48 | } |
| 49 | |
| 50 | QRegularExpression RegexConfig::GetRegularExpression(const QString &expr) const |
| 51 | { |
| 52 | if (_partialMatch) { |
| 53 | return QRegularExpression(expr, _options); |
| 54 | } |
| 55 | return QRegularExpression(QRegularExpression::anchoredPattern(expr), |
| 56 | _options); |
| 57 | } |
| 58 | |
| 59 | QRegularExpression |
| 60 | RegexConfig::GetRegularExpression(const std::string &expr) const |
no outgoing calls
no test coverage detected