BloombergLP::bdlpcre::RegEx::RegEx

Create a regular-expression object in the "unprepared" state.

Synopsis

Declared in <bdlpcre_regex.h>

RegEx(bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. The alignment strategy of the allocator must be "maximum" or "natural". If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default