## Match class


[Single](../../system/single/) match of regexp over string. Objects of this class should only be allocated using [System::MakeObject()](../../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](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

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

## Metodi

| Metodo | Descrizione |
| --- | --- |
| [AddCapture](./addcapture/)(const CapturePtr\&) | Aggiunge una cattura alla corrispondenza. |
| [AddGroup](./addgroup/)(const GroupPtr\&) | Aggiunge un gruppo alla corrispondenza. |
| static [get_Empty](./get_empty/)() | Accessor per corrispondenza vuota. |
| [get_Groups](./get_groups/)() | Ottiene l'elenco dei gruppi. |
| [Match](./match/)(const UStringPtr\&, int, int) | Costruttore. |
| [NextMatch](./nextmatch/)() | Iterazione sulle corrispondenze. |
| virtual [Result](./result/)(const String\&) | Formatta la stringa sostituendo i riferimenti ai sotto‑corrispondenze con i loro valori. |
| [SetMappedIndexes](./setmappedindexes/)(const std::vector\<int\>\&) |  |
## Vedi anche

* Class [Group](../group/)
* Namespace [System::Text::RegularExpressions](../)
* Library [Aspose.Font for C++](../../)
