Method RegEx():setMaxCaptureGroups() Foundation
Sets the maximum number of capture groups.
:setMaxCaptureGroups( <nMaxMatchGroups> ) --> self
This method returns self.
Configures the internal buffer size used for storing capture groups in the match results. By default, 30 groups can be matched including group 0 (the full match). Increase this value when working with patterns that have more capture groups.
Set output vector size
oRegEx := RegEx():create()
oRegEx:setMaxCaptureGroups(40) // Support up to 40 capture groups
// Use oRegEx
oRegEx:destroy()
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.