[#BloombergLP-bdlpcre-RegEx-namedSubpatterns-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::namedSubpatterns :relfileprefix: ../../../ :mrdocs: Load into `result` the mapping between sub‐pattern names and indices. Names are in alphabetical order. The behavior is undefined unless `isPrepared()` is `true`. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void namedSubpatterns(xref:bsl/vector-00d.adoc[bsl::vector<bsl::pair<std::string_view, int>>]* result) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#