System::Text::RegularExpressions::Match Klasse

Match class

Single match of regexp over string. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class Match : public System::Text::RegularExpressions::Group

Methoden

MethodeBeschreibung
AddCapture(const CapturePtr&)Fügt eine Erfassung zum Treffer hinzu.
AddGroup(const GroupPtr&)Fügt eine Gruppe zum Treffer hinzu.
static get_Empty()Zugriff auf leeren Treffer.
get_Groups()Ruft die Gruppenliste ab.
Match(const UStringPtr&, int, int)Konstruktor.
NextMatch()Iteration über Treffer.
virtual Result(const String&)Formatiert einen String, indem Submatch-Referenzen durch ihre Werte ersetzt werden.
SetMappedIndexes(const std::vector<int>&)

Siehe auch