---
title: "System::Text::RegularExpressions::GroupCollection::GroupCollection constructor"
url: "https://reference.aspose.com/tex/cpp/system.text.regularexpressions/groupcollection/groupcollection/"
product: "Aspose.TeX for C++"
description: "System::Text::RegularExpressions::GroupCollection::GroupCollection constructor. Constructor in C++."
---

## GroupCollection::GroupCollection constructor


Constructor.

```cpp
System::Text::RegularExpressions::GroupCollection::GroupCollection(const WeakPtr<Match> &match)
```


| Parameter | Type | Description |
| --- | --- | --- |
| match | const WeakPtr\<Match\>\& | [Match](../../match/) to catch groups for. |

## See Also

* Class [WeakPtr](../../../system/weakptr/)
* Class [Match](../../match/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.TeX for C++](../../../)
