@@ -17,7 +17,11 @@
/* 取出文件名的正则表达式 */
+#if defined (_WIN32)
+const std::regex _reg_file(R"(.*\\([\S]*[\.][\S]*)$)");
+#elif defined(__linux__)
const std::regex _reg_file(R"(.*/([\S]*[\.][\S]*)$)");
+#endif
/* Debug输出 */
#define FMTLOG_DEBUG(...) \