projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use raw string literals instead of escaped strings
[quassel.git]
/
src
/
core
/
oidentdconfiggenerator.cpp
diff --git
a/src/core/oidentdconfiggenerator.cpp
b/src/core/oidentdconfiggenerator.cpp
index
08b7636
..
7e75871
100644
(file)
--- a/
src/core/oidentdconfiggenerator.cpp
+++ b/
src/core/oidentdconfiggenerator.cpp
@@
-63,7
+63,7
@@
bool OidentdConfigGenerator::init()
// the ability to bind to an IP on client sockets.
_quasselStanzaTemplate = QString("lport %1 { reply \"%2\" } #%3\n");
// the ability to bind to an IP on client sockets.
_quasselStanzaTemplate = QString("lport %1 { reply \"%2\" } #%3\n");
- _quasselStanzaRx = QRegExp(QString(
"^lport .* \\{ .* \\} #%1\\r?\\n
").arg(_configTag));
+ _quasselStanzaRx = QRegExp(QString(
R"(^lport .* \{ .* \} #%1\r?\n)
").arg(_configTag));
// initially remove all Quassel stanzas that might be present
if (parseConfig(false) && writeConfig())
// initially remove all Quassel stanzas that might be present
if (parseConfig(false) && writeConfig())