more event boilerplate
Some checks are pending
ContinuousIntegration / macos (push) Waiting to run
ContinuousIntegration / windows (push) Waiting to run
ContinuousIntegration / linux (push) Successful in 22s

This commit is contained in:
2024-06-11 10:09:55 +02:00
parent 4295c6cc53
commit 70317ab4db
6 changed files with 141 additions and 8 deletions

View File

@@ -7,6 +7,7 @@ std::optional<LPLRes> log_parse_line(std::string_view line) {
return std::nullopt;
}
// TODO: make mod name configurable
static const std::regex mod_match{".*Factorio-Event-Logger+.*\\[([A-Z ]+)\\] (.+)$"};
std::cmatch matches;