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

Name

Description

basicAllocator

memory allocator; null uses the default

Created with MrDocs