Load into result the mapping between sub-pattern names and indices.
Declared in <bdlpcre_regex.h>
void
namedSubpatterns(bsl::vector<bsl::pair<std::string_view, int>>* result) const;
Names are in alphabetical order. The behavior is undefined unless isPrepared() is true.
| Name | Description |
|---|---|
| result | receives (name, index) pairs for named sub-patterns |