Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1878be6

Browse files
committed
Add delimeter to raw string literal
1 parent ee12484 commit 1878be6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.2)
22

3-
project(algorithm-visualizer VERSION 2.3.1)
3+
project(algorithm-visualizer VERSION 2.3.2)
44

55
set(CMAKE_CXX_STANDARD 11)
66

‎include/LogTracer.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class LogTracer : public Tracer {
2929
va_start(args, format);
3030
string::const_iterator searchStart(format.cbegin());
3131
const std::regex exp(
32-
R"((?:[^\x25]|^)(?:\x25{2})*\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX]))");
32+
R"RAW((?:[^\x25]|^)(?:\x25{2})*\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX]))RAW");
3333
std::smatch match;
3434
while (std::regex_search(searchStart, format.cend(), match, exp)) {
3535
char specifier = match.str(8).at(0);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /