As default there are NO limits on the execution of regular expression in an XPath expression.
This method is essentially a "pass through" to the p6IRegex::setBackTrackLimits(). If the caller wishes to define limits on the regex evaluation, then limits can be set with this call.
Note, that these limits are set at compile time. So for these to be effective this method must be called before the compileExpression() method. This method can be called repeatedly to change the limits of each new compiled XPath expression.
- Parameters
-
maxBackStack | [ in ] maximum number of entries on the backtrack stack, a value of zero means no limit (which is the default). |
maxBackTracks | [ in ] maximum number of backtrack steps allowed in a regex evaluation, a value of zero means no limit (which is the default). |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |