fix: fix compile/run bugs from trying to be safer. rip

This commit is contained in:
Keepo
2026-03-28 23:26:34 -04:00
parent 3533265675
commit 72d6a51fb7
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ TransformResult transform_8bit_to_hex(const std::string& file_path) {
f.read(result.data(), size);
static std::regex pattern(
R"((\#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})))");
R"(\#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2}))");
std::string final_output;
auto it = std::sregex_iterator(result.begin(), result.end(), pattern);