Content-Length: 280470 | pFad | http://github.com/algorithm-visualizer/tracers.cpp/commit/1878be6f7c213722a8e5a18036823acd74298b59

A2 Add delimeter to raw string literal · algorithm-visualizer/tracers.cpp@1878be6 · GitHub
Skip to content

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/algorithm-visualizer/tracers.cpp/commit/1878be6f7c213722a8e5a18036823acd74298b59

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy