From b23ec7e1f582bcc34e0f84a08ddcea15571f5d27 Mon Sep 17 00:00:00 2001
From: "Philip.Hazel"
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_compile_context *pcre2_compile_context_copy(
+ pcre2_compile_context *ccontext);
+
+This function makes a new copy of a compile context, using the memory
+allocation function that was used for the original context. The result is NULL
+if the memory cannot be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_compile_context *pcre2_compile_context_create(
+ pcre2_general_context *gcontext);
+
+This function creates and initializes a new compile context. If its argument is
+NULL, malloc() is used to get the necessary memory; otherwise the memory
+allocation function within the general context is used. The result is NULL if
+the memory could not be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+void pcre2_compile_context_free(pcre2_compile_context *ccontext);
+
+This function frees the memory occupied by a compile context, using the memory
+freeing function from the general context with which it was created, or
+free() if that was not set.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_general_context *pcre2_general_context_copy(
+ pcre2_general_context *gcontext);
+
+This function makes a new copy of a general context, using the memory
+allocation functions in the context, if set, to get the necessary memory.
+Otherwise malloc() is used. The result is NULL if the memory cannot be
+obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_general_context *pcre2_general_context_create(
+ void *(*private_malloc)(PCRE2_SIZE, void *),
+ void (*private_free)(void *, void *), void *memory_data);
+
+This function creates and initializes a general context. The arguments define
+custom memory management functions and a data value that is passed to them when
+they are called. The private_malloc() function is used to get memory for
+the context. If either of the first two arguments is NULL, the system memory
+management function is used. The result is NULL if no memory could be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+void pcre2_general_context_free(pcre2_general_context *gcontext);
+
+This function frees the memory occupied by a general context, using the memory
+freeing function within the context, if set.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+PCRE2_SPTR pcre2_get_mark(pcre2_match_data *match_data);
+
+After a call of pcre2_match() that was passed the match block that is
+this function's argument, this function returns a pointer to the last (*MARK)
+name that was encountered. The name is zero-terminated, and is within the
+compiled pattern. If no (*MARK) name is available, NULL is returned. A (*MARK)
+name may be available after a failed match or a partial match, as well as after
+a successful one.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+uint32_t pcre2_get_ovector_count(pcre2_match_data *match_data);
+
+This function returns the number of pairs of offsets in the ovector that forms
+part of the given match data block.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+PCRE2_SIZE *pcre2_get_ovector_pointer(pcre2_match_data *match_data);
+
+This function returns a pointer to the vector of offsets that forms part of the
+given match data block. The number of pairs can be found by calling
+pcre2_get_ovector_count().
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+PCRE2_SIZE pcre2_get_startchar(pcre2_match_data *match_data);
+
+After a successful call of pcre2_match() that was passed the match block
+that is this function's argument, this function returns the code unit offset of
+the character at which the successful match started. This can be different to
+the value of ovector[0] if the pattern contains the \K escape sequence.
+Note, however, that \K has no effect for a partial match.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+void pcre2_jit_free_unused_memory(pcre2_general_context *gcontext);
+
+This function frees unused JIT executable memory. The argument is a general
+context, for custom memory management, or NULL for standard memory management.
+FIXME: more detail needed.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_match_context *pcre2_match_context_copy(
+ pcre2_match_context *mcontext);
+
+This function makes a new copy of a match context, using the memory
+allocation function that was used for the original context. The result is NULL
+if the memory cannot be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_match_context *pcre2_match_context_create(
+ pcre2_general_context *gcontext);
+
+This function creates and initializes a new match context. If its argument is
+NULL, malloc() is used to get the necessary memory; otherwise the memory
+allocation function within the general context is used. The result is NULL if
+the memory could not be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+void pcre2_match_context_free(pcre2_match_context *mcontext);
+
+This function frees the memory occupied by a match context, using the memory
+freeing function from the general context with which it was created, or
+free() if that was not set.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_match_data_create(uint32_t ovecsize,
+ pcre2_general_context *gcontext);
+
+This function creates a new match data block, which is used for holding the
+result of a match. The first argument specifies the number of pairs of offsets
+that are required. These form the "output vector" (ovector) within the match
+data block, and are used to identify the matched string and any captured
+substrings. There is always one pair of offsets; if ovecsize is zero, it
+is treated as one.
+
+The second argument points to a general context, for custom memory management,
+or is NULL for system memory management. The result of the function is NULL if
+the memory for the block could not be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+pcre2_match_data_create_from_pattern(pcre2_code *code,
+ pcre2_general_context *gcontext);
+
+This function creates a new match data block, which is used for holding the
+result of a match. The first argument points to a compiled pattern. The number
+of capturing parentheses within the pattern is used to compute the number of
+pairs of offsets that are required in the match data block. These form the
+"output vector" (ovector) within the match data block, and are used to identify
+the matched string and any captured substrings.
+
+The second argument points to a general context, for custom memory management,
+or is NULL for system memory management. The result of the function is NULL if
+the memory for the block could not be obtained.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+void pcre2_match_data_free(pcre2_match_data *match_data);
+
+This function frees the memory occupied by a match data block, using the memory
+freeing function from the general context with which it was created, or
+free() if that was not set.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_bsr(pcre2_compile_context *ccontext,
+ uint32_t value);
+
+This function sets the convention for processing \R within a compile context.
+The second argument must be one of PCRE2_BSR_ANYCRLF or PCRE2_BSR_UNICODE. The
+result is zero for success or PCRE2_ERROR_BADDATA if the second argument is
+invalid.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_callout(pcre2_match_context *mcontext,
+ int (*callout_function)(pcre2_callout_block *),
+ void *callout_data);
+
+This function sets the callout fields in a match context (the first argument).
+The second argument specifies a callout function, and the third argument is an
+opaque data time that is passed to it. The result of this function is always
+zero.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_character_tables(pcre2_compile_context *ccontext,
+ const unsigned char *tables);
+
+This function sets a pointer to custom character tables within a compile
+context. The second argument must be the result of a call to
+pcre2_maketables() or NULL to request the default tables. The result is
+always zero.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontext,
+ int (*guard_function)(uint32_t));
+
+This function defines, within a compile context, a function that is called
+whenever pcre2_compile() starts to compile a parenthesized part of a
+pattern. The argument to the function gives the current depth of parenthesis
+nesting. The function should return zero if all is well, or non-zero to force
+an error. This feature is provided so that applications can check the available
+system stack space, in order to avoid running out. The result of this function
+is always zero.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_match_limit(pcre2_match_context *mcontext,
+ uint32_t value);
+
+This function sets the match limit field in a match context. The result is
+always zero.
+
+There is a complete description of the PCRE2 native API in the
+pcre2api
+page and a description of the POSIX API in the
+pcre2posix
+page.
+
+Return to the PCRE2 index page.
+
+Return to the PCRE2 index page.
+
+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.
+
+#include <pcre2.h>
+
+int pcre2_set_newline(pcre2_compile_context *ccontext,
+ uint32_t value);
+
+This function sets the newline convention within a compile context. This
+specifies which character(s) are recognized as newlines when compiling and
+matching patterns. The second argument must be one of:
+
-pcre2_compile
Compile a regular expression pattern
+pcre2_compile2
- Compile a regular expression (alternate interface)
+
+pcre2_compile_context_copy
+ Copy a compile context
+
+pcre2_compile_context_create
+ Create a compile context pcre2_compile_context_free
+ Free a compile context
@@ -101,12 +107,36 @@ in the library.
pcre2_config
Show build-time configuration options Match a compiled pattern to a subject string
(DFA algorithm; not Perl compatible)
+
+
+pcre2_general_context_copy
+ Copy a general context
+
+pcre2_general_context_create
+ Create a general context
+
pcre2_general_context_free
+ Free a general context
+pcre2_get_error_message
Free study data
+
+pcre2_get_mark
+ Get a (*MARK) name
+
+pcre2_get_ovector_count
+ Get the ovector count
+
+pcre2_get_ovector_pointer
+ Get a pointer to the ovector
+
pcre2_get_startchar
+ Get the starting character offset
+pcre2_jit_compile
Process a compiled pattern with the JIT compiler
+
pcre2_jit_free_unused_memory
+ Free unused JIT memory
@@ -126,9 +156,54 @@ in the library.
pcre2_jit_match
Fast path interface to JIT matching Match a compiled pattern to a subject string
(Perl compatible)
+
+
+pcre2_match_context_copy
+ Copy a match context
+
+pcre2_match_context_create
+ Create a match context
+
+pcre2_match_contest_free
+ Free a match context
+
+pcre2_match_data_create
+ Create a match data block
+
+pcre2_match_data_create_from_pattern
+ Create a match data block getting size from pattern
+
pcre2_match_data_free
+ Free a match data block
+pcre2_pattern_info
Extract information about a pattern
+
+pcre2_set_bsr
+ Set \R convention
+
+pcre2_set_callout
+ Set up a callout function
+
+pcre2_set_character_tables
+ Set character tables
+
+pcre2_set_compile_recursion_guard
+ Set up a compile recursion guard function
+
+pcre2_set_match_limit
+ Set the match limit
+
+pcre2_set_newline
+ Set the newline convention
+
+pcre2_set_parens_nest_limit
+ Set the parentheses nesting limit
+
+pcre2_set_recursion_limit
+ Set the match recursion limit
+
pcre2_set_recursion_memory_management
+ Set match recursion memory management
diff --git a/doc/html/pcre2_compile_context_copy.html b/doc/html/pcre2_compile_context_copy.html
new file mode 100644
index 0000000..9e9884b
--- /dev/null
+++ b/doc/html/pcre2_compile_context_copy.html
@@ -0,0 +1,41 @@
+
+
+pcre2_substring_copy_byname
Extract named substring into given buffer pcre2_compile_context_copy man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_compile_context_create man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_compile_context_free man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_general_context_copy man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_general_context_create man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_general_context_free man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_get_mark man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_get_ovector_count man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_get_ovector_pointer man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_get_startchar man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_jit_free_unused_memory man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_context_copy man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_context_create man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_context_free man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_data_create man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_data_create_from_pattern man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_match_data_free man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_bsr man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_callout man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_character_tables man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_compile_recursion_guard man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_match_limit man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+pcre2_set_newline man page
+
+
+SYNOPSIS
+
+
+DESCRIPTION
+
+
+ PCRE2_NEWLINE_CR Carriage return only
+ PCRE2_NEWLINE_LF Linefeed only
+ PCRE2_NEWLINE_CRLF CR followed by LF only
+ PCRE2_NEWLINE_ANYCRLF Any of the above
+ PCRE2_NEWLINE_ANY Any Unicode newline sequence
+
+The result is zero for success or PCRE2_ERROR_BADDATA if the second argument is
+invalid.
+
+There is a complete description of the PCRE2 native API in the +pcre2api +page and a description of the POSIX API in the +pcre2posix +page. +
+Return to the PCRE2 index page. +
diff --git a/doc/html/pcre2_set_parens_nest_limit.html b/doc/html/pcre2_set_parens_nest_limit.html new file mode 100644 index 0000000..95fd31c --- /dev/null +++ b/doc/html/pcre2_set_parens_nest_limit.html @@ -0,0 +1,40 @@ + + ++Return to the PCRE2 index page. +
+
+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.
+
+
+SYNOPSIS
+
+
+#include <pcre2.h> +
++int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext, + uint32_t value); +
++This function sets, in a compile context, the maximum depth of nested +parentheses in a pattern. The result is always zero. +
++There is a complete description of the PCRE2 native API in the +pcre2api +page and a description of the POSIX API in the +pcre2posix +page. +
+Return to the PCRE2 index page. +
diff --git a/doc/html/pcre2_set_recursion_limit.html b/doc/html/pcre2_set_recursion_limit.html new file mode 100644 index 0000000..5adcc99 --- /dev/null +++ b/doc/html/pcre2_set_recursion_limit.html @@ -0,0 +1,40 @@ + + ++Return to the PCRE2 index page. +
+
+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.
+
+
+SYNOPSIS
+
+
+#include <pcre2.h> +
++int pcre2_set_recursion_limit(pcre2_match_context *mcontext, + uint32_t value); +
++This function sets the recursion limit field in a match context. The result is +always zero. +
++There is a complete description of the PCRE2 native API in the +pcre2api +page and a description of the POSIX API in the +pcre2posix +page. +
+Return to the PCRE2 index page. +
diff --git a/doc/html/pcre2_set_recursion_memory_management.html b/doc/html/pcre2_set_recursion_memory_management.html new file mode 100644 index 0000000..ec18947 --- /dev/null +++ b/doc/html/pcre2_set_recursion_memory_management.html @@ -0,0 +1,47 @@ + + ++Return to the PCRE2 index page. +
+
+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.
+
+
+SYNOPSIS
+
+
+#include <pcre2.h> +
++int pcre2_set_recursion_memory_management( + pcre2_match_context *mcontext, + void *(*private_malloc)(PCRE2_SIZE, void *), + void (*private_free)(void *, void *), void *memory_data); +
++This function sets the match context fields for custom memory management when +PCRE2 is compiled to use the heap instead of the system stack for recursive +function calls while matching. When PCRE2 is compiled to use the stack (the +default) this function does nothing. The first argument is a match context, the +second and third specify the memory allocation and freeing functions, and the +final argument is an opaque value that is passed to them whenever they are +called. The result of this function is always zero. +
++There is a complete description of the PCRE2 native API in the +pcre2api +page and a description of the POSIX API in the +pcre2posix +page. +
+Return to the PCRE2 index page. +
diff --git a/doc/html/pcre2api.html b/doc/html/pcre2api.html index eacf4e1..016fd4a 100644 --- a/doc/html/pcre2api.html +++ b/doc/html/pcre2api.html @@ -2053,7 +2053,7 @@ match or a partial match, as well as after a successful one. The offset of the character at which the successful match started is returned by pcre2_get_startchar(). This can be different to the value of ovector[0] if the pattern contains the \K escape sequence. Note, -however, the \K has no effect for a partial match. +however, that \K has no effect for a partial match.