[#BloombergLP-bdlpcre-RegEx-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::RegEx :relfileprefix: ../../../ :mrdocs: Create a regular‐expression object in the "unprepared" state. 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. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- RegEx(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#