System::Text::RegularExpressions::Match classe
Contenu
[
Cacher
]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éthodes
| Méthode | Description |
|---|---|
| AddCapture(const CapturePtr&) | Ajoute une capture à la correspondance. |
| AddGroup(const GroupPtr&) | Ajoute un groupe à la correspondance. |
| static get_Empty() | Accesseur de correspondance vide. |
| get_Groups() | Obtient la liste des groupes. |
| Match(const UStringPtr&, int, int) | Constructeur. |
| NextMatch() | Itération sur les correspondances. |
| virtual Result(const String&) | Formate la chaîne en remplaçant les références de sous-correspondance par leurs valeurs. |
| SetMappedIndexes(const std::vector<int>&) |
Voir aussi
- Class Group
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++