BloombergLP::bdlpcre::RegEx::namedSubpatterns

namedSubpatterns overloads

Synopses

Declared in <bdlpcre_regex.h>

Load into result the mapping between sub-pattern names and indices. Names are in alphabetical order. The behavior is undefined unless isPrepared() is true.

void
namedSubpatterns(bsl::vector<bsl::pair<std::string_view, int>>* result) const;
» more...

Same as the preceding overload, using a std::pmr::vector buffer.

void
namedSubpatterns(std::pmr::vector<std::pair<std::string_view, int>>* result) const;
» more...

Same as the preceding overload, using a std::vector result buffer.

void
namedSubpatterns(std::vector<std::pair<std::string_view, int>>* result) const;
» more...