PCRE2_SET_MAX_PATTERN_LENGTHL(i3b)rary Functions ManPuCaRlE2_SET_MAX_PATTERN_LENGTH(3) NNAAMMEE PCRE2 - Perl-compatible regular expressions (revised API) SSYYNNOOPPSSIISS ##iinncclluuddee <
> iinntt ppccrree22__sseett__mmaaxx__ppaatttteerrnn__lleennggtthh((ppccrree22__ccoommppiillee__ccoonntteexxtt **_c_c_o_n_t_e_x_t,, PPCCRREE22__SSIIZZEE _v_a_l_u_e));; DDEESSCCRRIIPPTTIIOONN This function sets, in a compile context, the maximum text length (in code units) of the pattern that can be compiled. The result is always zero. If a longer pattern is passed to ppccrree22__ccoommppiillee(()) there is an immediate error return. The default is effectively unlimited, being the largest value a PCRE2_SIZE variable can hold. There is a complete description of the PCRE2 native API in the ppccrree22aappii page and a description of the POSIX API in the ppccrree22ppoossiixx page. PCRE2 10.23 05 October 2016PCRE2_SET_MAX_PATTERN_LENGTH(3)