`std::regex` does not implements negative lookahead, but a simple API change may allow for filtering on *not* matching a given regexp.