pcre2api.3 | pcre2api.3 | |||
---|---|---|---|---|
skipping to change at line 87 | skipping to change at line 87 | |||
int pcre2_set_character_tables(pcre2_compile_context *ccontext, | int pcre2_set_character_tables(pcre2_compile_context *ccontext, | |||
const uint8_t *tables); | const uint8_t *tables); | |||
int pcre2_set_compile_extra_options(pcre2_compile_context *ccontext, | int pcre2_set_compile_extra_options(pcre2_compile_context *ccontext, | |||
uint32_t extra_options); | uint32_t extra_options); | |||
int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, | int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, | |||
PCRE2_SIZE value); | PCRE2_SIZE value); | |||
int pcre2_set_max_pattern_compiled_length( | ||||
pcre2_compile_context *ccontext, PCRE2_SIZE value); | ||||
int pcre2_set_max_varlookbehind(pcre2_compile_contest *ccontext, | int pcre2_set_max_varlookbehind(pcre2_compile_contest *ccontext, | |||
uint32_t value); | uint32_t value); | |||
int pcre2_set_newline(pcre2_compile_context *ccontext, | int pcre2_set_newline(pcre2_compile_context *ccontext, | |||
uint32_t value); | uint32_t value); | |||
int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext, | int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext, | |||
uint32_t value); | uint32_t value); | |||
int pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontex t, | int pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontex t, | |||
skipping to change at line 664 | skipping to change at line 667 | |||
int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, | int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, | |||
PCRE2_SIZE value); | PCRE2_SIZE value); | |||
This sets a maximum length, in code units, for any pattern string t hat is compiled | This sets a maximum length, in code units, for any pattern string t hat is compiled | |||
with this context. If the pattern is longer, an error is generated. This facility | with this context. If the pattern is longer, an error is generated. This facility | |||
is provided so that applications that accept patterns from exter nal sources can | is provided so that applications that accept patterns from exter nal sources can | |||
limit their size. The default is the largest number that a PCRE2_SIZ E variable can | limit their size. The default is the largest number that a PCRE2_SIZ E variable can | |||
hold, which is effectively unlimited. | hold, which is effectively unlimited. | |||
int pcre2_set_max_pattern_compiled_length( | ||||
pcre2_compile_context *ccontext, PCRE2_SIZE value); | ||||
This sets a maximum size, in bytes, for the memory needed to hold th | ||||
e compiled ver‐ | ||||
sion of a pattern that is compiled with this context. If the pat | ||||
tern needs more | ||||
memory, an error is generated. This facility is provided so that app | ||||
lications that | ||||
accept patterns from external sources can limit the amount of memor | ||||
y they use. The | ||||
default is the largest number that a PCRE2_SIZE variable can hold, w | ||||
hich is effec‐ | ||||
tively unlimited. | ||||
int pcre2_set_max_varlookbehind(pcre2_compile_contest *ccontext, | int pcre2_set_max_varlookbehind(pcre2_compile_contest *ccontext, | |||
uint32_t value); | uint32_t value); | |||
This sets a maximum length for the number of characters matched by a variable- | This sets a maximum length for the number of characters matched by a variable- | |||
length lookbehind assertion. The default is set when PCRE2 is built, with the ulti‐ | length lookbehind assertion. The default is set when PCRE2 is built, with the ulti‐ | |||
mate default being 255, the same as Perl. Lookbehind assertions with out a bounding | mate default being 255, the same as Perl. Lookbehind assertions with out a bounding | |||
length are not supported. | length are not supported. | |||
int pcre2_set_newline(pcre2_compile_context *ccontext, | int pcre2_set_newline(pcre2_compile_context *ccontext, | |||
uint32_t value); | uint32_t value); | |||
skipping to change at line 3449 | skipping to change at line 3462 | |||
pcre2posix(3), pcre2sample(3), pcre2unicode(3). | pcre2posix(3), pcre2sample(3), pcre2unicode(3). | |||
AUTHOR | AUTHOR | |||
Philip Hazel | Philip Hazel | |||
Retired from University Computing Service | Retired from University Computing Service | |||
Cambridge, England. | Cambridge, England. | |||
REVISION | REVISION | |||
Last updated: 27 January 2024 | Last updated: 24 April 2024 | |||
Copyright (c) 1997-2024 University of Cambridge. | Copyright (c) 1997-2024 University of Cambridge. | |||
PCRE2 10.43 27 January 2024 PCRE2API(3) | PCRE2 10.44 24 April 2024 PCRE2API(3) | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 19 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |