System::Text::RegularExpressions::Group class

Group class

Result of matching done by single capturing group. 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 Group : public System::Text::RegularExpressions::Capture

Methods

MethodDescription
AddCapture(const CapturePtr&)Adds capture into group.
get_Captures()Gets available captures.
get_Success()Checks if capturing was successful for this group.
Group(const UStringPtr&, int, int)Constructor.
Group()Constructor of empty group.

See Also