MREGEXTR parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
==Description==
==Description==
<p>
<p>
The parameter limits the maximum number of regular expression trace lines an individual regular expression method or $function call can produce. Regular expression tracing can be enabled by setting the <var>[[REGEXTR parameter|REGEXTR]]</var> to 1 or by specifying the <code>"t"</code> option in regular expression $function or method call.
The parameter limits the maximum number of regular expression trace lines an individual regular expression method or $function call can produce. Regular expression tracing can be enabled by setting the <var>[[REGEXTR parameter]]</var> to 1 or by specifying the <code>"t"</code> option in regular expression $function or method call.
</p>
</p>
<p>
<p>
Regular expression processing can produce a huge volume of trace lines. The <var>MREGEXTR</var> parameter is intended to limit the damage caused by accidentally producing a massive trace. Note however, that the <var>MREGEXTR</var> parameter only limits the lines produced in a single $function or method call so, if a regular expression is processed many times in a loop, each invocaton can produce up to <var>MREGEXTR</var> lines of trace information.
Regular expression processing can produce a huge volume of trace lines. The <var>MREGEXTR</var> parameter is intended to limit the damage caused by accidentally producing a massive trace. Note however, that the <var>MREGEXTR</var> parameter only limits the lines produced in a single $function or method call so, if a regular expression is processed many times in a loop, each invocaton can produce up to <var>MREGEXTR</var> lines of trace information.
</p>
<p>
<var>MREGEXTR</var> can be changed during evaluation using the [[$ResetN|$ResetN function]]
</p>
</p>


[[Category:User parameters]]
[[Category:User parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 16:03, 21 January 2022

Max regex trace lines

Summary

Default value
256
Maximum value
4095
Parameter type
User
Where set
By any user
Related products
All
Introduced
Model 204 V7.9

Description

The parameter limits the maximum number of regular expression trace lines an individual regular expression method or $function call can produce. Regular expression tracing can be enabled by setting the REGEXTR parameter to 1 or by specifying the "t" option in regular expression $function or method call.

Regular expression processing can produce a huge volume of trace lines. The MREGEXTR parameter is intended to limit the damage caused by accidentally producing a massive trace. Note however, that the MREGEXTR parameter only limits the lines produced in a single $function or method call so, if a regular expression is processed many times in a loop, each invocaton can produce up to MREGEXTR lines of trace information.

MREGEXTR can be changed during evaluation using the $ResetN function