case WMS_POST:
の頭にある
static const std::regex rePostkey("postkey=([0-9A-Za-z\\-_]+)");

static const std::regex rePostkey("postkey=([0-9A-Za-z\\-_.]+)");
に変更したらとりあえず書けた