STBL size for Regex objects
- Default value
- Parameter type
- Where set
- User 0 parameter line
- Related products
- Model 204 version 7.9
This parameter indicates the amount of STBL to be assigned to each swapped-in Regex object.
When the Regex constructor is invoked, the regular expression string and replacement string are compiled and the original strings and compilations are saved in the STBL part of the object. If the total size of these strings and compilations exceeds REGXSTBL, the request is cancelled.
Since the size of the regular expression and replacement compilation rarely exceed 16 bytes per source character (it's usually less), the default value of 2048 can accommodate almost all regular expressions with replacement strings of at least 120 characters. Regular expressions much longer than this are rare.
Increasing the value of this parameter increases the STBL requirements for every request that uses Regex objects, usually by twice the amount of increase (one for each swapped-in object slot allocated).