From d41536cf02776384e667ebc138ed23a4a886d5df Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 17 Nov 2019 20:29:53 -0800 Subject: [PATCH] UI: Fix invalid escape sequences in regex string --- UI/window-extra-browsers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-extra-browsers.cpp b/UI/window-extra-browsers.cpp index e90d172de..d754d4561 100644 --- a/UI/window-extra-browsers.cpp +++ b/UI/window-extra-browsers.cpp @@ -536,7 +536,7 @@ void OBSBasic::AddExtraBrowserDock(const QString &title, const QString &url, /* Add support for Twitch Dashboard panels */ if (url.contains("twitch.tv/popout") && url.contains("dashboard/live")) { - QRegularExpression re("twitch.tv\/popout\/([^/]+)\/"); + QRegularExpression re("twitch.tv\\/popout\\/([^/]+)\\/"); QRegularExpressionMatch match = re.match(url); QString username = match.captured(1); if (username.length() > 0) {