From 509464f6c535c95b1c1974eb8b2e6039148e0703 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 May 2017 16:24:27 +0100 Subject: Use raw string for readability --- gentoobrowse-api/service/maintenanceBugs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/service/maintenanceBugs.cpp b/gentoobrowse-api/service/maintenanceBugs.cpp index 6526923..8c56cec 100644 --- a/gentoobrowse-api/service/maintenanceBugs.cpp +++ b/gentoobrowse-api/service/maintenanceBugs.cpp @@ -17,7 +17,7 @@ namespace Gentoo { namespace Service { AdHoc::Lexer::PatternPtr bugLink = AdHoc::LexerMatchers::regex( - "Bug:(\\d+) - \"\" status:(\\w*) resolution:(\\w*) severity:(\\w*).*", G_REGEX_OPTIMIZE); + R"R(Bug:(\d+) - "" status:(\w*) resolution:(\w*) severity:(\w*).*)R", G_REGEX_OPTIMIZE); class BugListParser : public xmlpp::SaxParser, AdHoc::Lexer { public: -- cgit v1.2.3