pcreSetRecursionLimit
pcreSetRecursionLimit(x_maxDepth) =>t
Description
Sets the maximum recursion depth for SKILL/PCRE match algorithms. The maximum recursion depth needs to be set for systems that have a low stack depth, in order to prevent crashes while using SKILL PCRE functions.
Arguments
Value Returned
|
The maximum recursion depth for the PCRE match algorithms is set. |
Examples
pcreSetRecursionLimit(1000)
=> t
pt = pcreCompile("sam | Bill| jack | alan| bob")
=> pcreobj@0x1df55020
pcreExecute(pt "myString")
=> nil
Related Topics
Return to top