summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-05-07 16:24:27 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-07 16:24:27 +0100
commit509464f6c535c95b1c1974eb8b2e6039148e0703 (patch)
tree2994788696f1d7774da8795bdd576b268e94abab
parentOnly dump DB when desired (diff)
downloadgentoobrowse-api-509464f6c535c95b1c1974eb8b2e6039148e0703.tar.bz2
gentoobrowse-api-509464f6c535c95b1c1974eb8b2e6039148e0703.tar.xz
gentoobrowse-api-509464f6c535c95b1c1974eb8b2e6039148e0703.zip
Use raw string for readability
-rw-r--r--gentoobrowse-api/service/maintenanceBugs.cpp2
1 files changed, 1 insertions, 1 deletions
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: