[#BloombergLP-bdlpcre-RegEx-setDefaultDepthLimit] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlpcre.adoc[bdlpcre]::xref:BloombergLP/bdlpcre/RegEx.adoc[RegEx]::setDefaultDepthLimit :relfileprefix: ../../../ :mrdocs: Set the process‐wide default evaluation recursion depth limit to the specified `depthLimit`. Return the previous depth limit. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int setDefaultDepthLimit(int depthLimit); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#