From 2298fa2a3da8f8a3d3ad494464cc2963d498f5cd Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Sun, 17 Jul 2022 18:22:39 +0800 Subject: [PATCH] opt:website tag regex expression refine --- iframeschemehandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iframeschemehandler.cpp b/iframeschemehandler.cpp index ba05cee8..b050cd14 100644 --- a/iframeschemehandler.cpp +++ b/iframeschemehandler.cpp @@ -54,7 +54,7 @@ void IframeSchemeHandler::requestStarted(QWebEngineUrlRequestJob *requestJob) // remove existed base tag articleString.remove( baseTag ) ; - QRegularExpression headTag( "", + QRegularExpression headTag( "", QRegularExpression::CaseInsensitiveOption | QRegularExpression::DotMatchesEverythingOption ); auto match = headTag.match( articleString, 0 );