Return a reference to the non‐modifiable pattern held by this regular‐expression object. The behavior is undefined unless isPrepared() == true.

Synopsis

Declared in <bdlpcre_regex.h>

bsl::string const&
pattern() const;

Return Value

non‐modifiable reference to the pattern

Created with MrDocs