## GroupCollection::operator[](const String\&) const method


[Group](../../group/) accessor.

```cpp
GroupPtr System::Text::RegularExpressions::GroupCollection::operator[](const String &name) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | [Group](../../group/) name. |

### ReturnValue

[Group](../../group/) with specified name.

## See Also

* Typedef [GroupPtr](../../groupptr/)
* Class [String](../../../system/string/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
## GroupCollection::operator[](int) method


[Group](../../group/) accessor.

```cpp
vector_t::reference System::Collections::Generic::List<GroupPtr>::operator[](int index)
```

## See Also

* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
## GroupCollection::operator[](int) const method


[Group](../../group/) accessor.

```cpp
vector_t::const_reference System::Collections::Generic::List<GroupPtr>::operator[](int index) const
```

## See Also

* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
