[#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. == Synopsis Declared in `<bdlpcre_regex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int setDefaultDepthLimit(int depthLimit); ---- == Description Set the process‐wide default evaluation recursion depth limit to the specified `depthLimit`. Return the previous depth limit. == Return Value previous process‐wide default depth limit == Parameters [cols="1,4"] |=== | Name| Description | *depthLimit* | new process‐wide default depth limit |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#