Return the number of sub‐patterns in the pattern held by this regular‐expression object (pattern()). The behavior is undefined unless isPrepared() == true.

Synopsis

Declared in <bdlpcre_regex.h>

int
numSubpatterns() const;

Created with MrDocs