1PCRE2_SET_MAX_PATTERN_LENGTHL(i3b)rary Functions ManPuCaRlE2_SET_MAX_PATTERN_LENGTH(3)
2
3
4

NAME

6       PCRE2 - Perl-compatible regular expressions (revised API)
7

SYNOPSIS

9
10       #include <pcre2.h>
11
12       int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext,
13         PCRE2_SIZE value);
14

DESCRIPTION

16
17       This  function  sets, in a compile context, the maximum text length (in
18       code units) of the pattern that can be compiled. The result  is  always
19       zero.  If  a  longer  pattern  is passed to pcre2_compile() there is an
20       immediate error return. The default is effectively unlimited, being the
21       largest value a PCRE2_SIZE variable can hold.
22
23       There is a complete description of the PCRE2 native API in the pcre2api
24       page and a description of the POSIX API in the pcre2posix page.
25
26
27
28PCRE2 10.23                     05 October 2016PCRE2_SET_MAX_PATTERN_LENGTH(3)
Impressum