RegexpMatch constructor

Web Site  Methods
 
RegexpMatch::RegexpMatch (int stack = -1)
Requires regular expression support to be enabled by defining STR_USE_REGEX

Prepares an empty RegexpMatch object to be subsequently used with Regexp::Match.

The parameter passed is the depth of the stack used during searching (expressed in number of 32-bit values). Passing the default (-1) will yield a stack size of 256, which is the default.

You typically do not need to modify this value, since the stack will grow automatically if the initial space is not enough.

 

See also: Regular expression classes, Regular expressions overview