.. index:: pair: class; EE::System::LuaPattern::Match .. _doxid-class_e_e_1_1_system_1_1_lua_pattern_1_1_match: class EE::System::LuaPattern::Match =================================== .. toctree:: :hidden: class_EE_System_LuaPattern_Match_iterator.rst .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Match { public: // classes class :ref:`iterator`; // construction :target:`Match`(:ref:`LuaPattern`& r, const char* string, bool ownPattern = false); :target:`Match`(:ref:`LuaPattern`& r, const std::string& string, bool ownPattern = false); :target:`Match`(const LuaPattern::Match& other); :target:`~Match`(); // methods Match& :target:`operator=`(const Match& other); bool :target:`matches`(); bool :target:`subst`(std::string& res); void :target:`next`(); std::string :target:`group`(int idx = -1) const; std::string_view :target:`groupView`(int idx = -1) const; bool :target:`range`(int idx, int& start, int& end) const; std::string :target:`operator[]`(int index) const; :ref:`iterator` :target:`begin`(); :ref:`iterator` :target:`end`(); };