X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Fregex.h;fp=source%2Fstrings%2Fregex.h;h=094a295cdb77bc230dd0c79254a4459f1567d945;hp=67925023e544e76cd3f594addd0693d2b860d2c4;hb=f24e7b96e76b63c9b9b8a6bce4c7a9db64276ea8;hpb=9f754b788b872f9768af8c3a4f9e001a588e011a diff --git a/source/strings/regex.h b/source/strings/regex.h index 6792502..094a295 100644 --- a/source/strings/regex.h +++ b/source/strings/regex.h @@ -103,7 +103,7 @@ private: struct RunContext { Code::const_iterator citer; - RegMatch::GroupArray groups; + std::vector groups; }; Code code; @@ -128,7 +128,7 @@ public: RegMatch match(const std::string &str) const; private: - bool run(const std::string &, const std::string::const_iterator &, RegMatch::GroupArray &) const; + bool run(const std::string &, const std::string::const_iterator &, std::vector &) const; bool group_compare(const RegMatch::Group &, const RegMatch::Group &) const; public: