[#BloombergLP-bdlpcre-RegEx-namedSubpatterns-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::namedSubpatterns
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, using a `std&colon;&colon;vector` result buffer&period;

== Synopsis

Declared in `&lt;bdlpcre&lowbar;regex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
namedSubpatterns(std::vector&lt;std::pair&lt;std::string&lowbar;view, int&gt;&gt;* result) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives (name, index) pairs for named sub&hyphen;patterns
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
