Load into result the mapping between sub‐pattern names and indices.

Synopsis

Declared in <bdlpcre_regex.h>

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

Description

Names are in alphabetical order. The behavior is undefined unless isPrepared() is true.

Parameters

Name

Description

result

receives (name, index) pairs for named sub‐patterns

Created with MrDocs