Method Regexp.PCRE2.MatchContext()->set_offset_limit()
classRegexp.PCRE2.MatchContext
- Method
set_offset_limit
voidset_offset_limit(intvalue)- Description
Limit how far an unanchored search can advance in the subject string. The default value is -1. The _pcre()->exec() function returns ERROR.NOMATCH if a match with a starting point before or at the given offset is not found.