>>149
正規表現にmingw-w64-x86_64-libgnurxを使うようにする
Makefile.mingw
$(CXX) $^ -o $(TARGET) -Wl,-s -static -static-libgcc -static-libstdc++ -lwinpthread -lwsock32 -lws2_32 -llua -L./lib -lregex -lssl.dll -lcrypto.dll -lcurl.dll

MITMをあきらめる
CFLAGSに-DUSE_MITMを追加しない