pcrelimits (3) Linux Manual Page
PCRE – Perl-compatible regular expressions Size And Other Limitations There are some size limitations in PCRE but it is hoped that they will never in practice be relevant. The maximum length of a compiled pattern is approximately 64K data units (bytes for the 8-bit library, 16-bit units for the 16-bit library, and 32-bit units for…
