We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8647426 commit 2c66813Copy full SHA for 2c66813
include/RhythmGameUtilities/Parsers.hpp
@@ -30,12 +30,12 @@ typedef struct
30
int lineCount;
31
} ChartSectionInternal;
32
33
-std::regex CHART_SECTION_PATTERN("\\[([a-z]+)\\]\\s*\\{([^\\}]+)\\}",
+std::regex CHART_SECTION_PATTERN(R"(\[([a-z]+)\]\s*\{([^\}]+)\})",
34
std::regex_constants::icase);
35
36
-std::regex CHART_SECTION_LINE_PATTERN("([^=]+)\\s*=([^\\r\\n]+)");
+std::regex CHART_SECTION_LINE_PATTERN(R"(([^=]+)\s*=([^\r\n]+))");
37
38
-std::regex JSON_VALUE_PATTERN("(\"[^\"]+\"|\\S+)");
+std::regex JSON_VALUE_PATTERN(R"(("[^"]+"|\S+))");
39
40
inline std::map<std::string,
41
std::vector<std::pair<std::string, std::vector<std::string>>>>
0 commit comments