Same as the preceding overload, using a std::vector result buffer.
std::vector
Declared in <bdlpcre_regex.h>
<bdlpcre_regex.h>
void namedSubpatterns(std::vector<std::pair<std::string_view, int>>* result) const;