int compare_version(const std::string &v1, const std::string &v2)
Compare two version strings.
bool is_version(const std::string &text)
Check if a string is a valid version.
std::string get_version(const std::string &text)
Parse a version string from a text.