| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/pcre2-devel/html/ |
Upload File : |
<html> <head> <title>pcre2_set_max_pattern_compiled_length specification</title> </head> <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> <h1>pcre2_set_max_pattern_compiled_length man page</h1> <p> Return to the <a href="index.html">PCRE2 index page</a>. </p> <p> This page is part of the PCRE2 HTML documentation. It was generated automatically from the original man page. If there is any nonsense in it, please consult the man page, in case the conversion went wrong. <br> <br><b> SYNOPSIS </b><br> <P> <b>#include <pcre2.h></b> </P> <P> <b>int pcre2_set_max_pattern_compiled_length(</b> <b> pcre2_compile_context *<i>ccontext</i>, PCRE2_SIZE <i>value</i>);</b> </P> <br><b> DESCRIPTION </b><br> <P> This function sets, in a compile context, the maximum size (in bytes) for the memory needed to hold the compiled version of a pattern that is compiled with this context. The result is always zero. If a pattern that is passed to <b>pcre2_compile()</b> with this context needs more memory, an error is generated. The default is the largest number that a PCRE2_SIZE variable can hold, which is effectively unlimited. </P> <P> There is a complete description of the PCRE2 native API in the <a href="pcre2api.html"><b>pcre2api</b></a> page and a description of the POSIX API in the <a href="pcre2posix.html"><b>pcre2posix</b></a> page. <p> Return to the <a href="index.html">PCRE2 index page</a>. </p>