System::Text::RegularExpressions::Match-klass
Innehåll
[
Dölj
]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
Metoder
| Metod | Beskrivning |
|---|---|
| AddCapture(const CapturePtr&) | Lägger till fångst i matchning. |
| AddGroup(const GroupPtr&) | Lägger till grupp i matchning. |
| static get_Empty() | Tom matchningsåtkomst. |
| get_Groups() | Hämtar grupplista. |
| Match(const UStringPtr&, int, int) | Konstruktor. |
| NextMatch() | Iteration över matchningar. |
| virtual Result(const String&) | Formaterar sträng genom att ersätta submatch-referenser med deras värden. |
| SetMappedIndexes(const std::vector<int>&) |
Se även
- Class Group
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++