RegexpMatch constructor |
![]() |
|
|
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