Clase System::Text::RegularExpressions::Match

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

Métodos

MétodoDescripción
AddCapture(const CapturePtr&)Agrega una captura a la coincidencia.
AddGroup(const GroupPtr&)Agrega un grupo a la coincidencia.
static get_Empty()Accesor de coincidencia vacía.
get_Groups()Obtiene la lista de grupos.
Match(const UStringPtr&, int, int)Constructor.
NextMatch()Iteración sobre coincidencias.
virtual Result(const String&)Formatea la cadena reemplazando referencias de subcoincidencias con sus valores.
SetMappedIndexes(const std::vector<int>&)

Ver también