pcre2_get_error_message(3)
PCRE2 – Perl-compatible regular expressions (revised API)
Synopsis
#include <pcre2.h>
int pcre2_get_error_message(int errorcode, PCRE2_UCHAR *buffer,
PCRE2_SIZE bufflen);Description
This function provides a textual error message for each PCRE2 error code. Compilation errors are positive numbers; UTF formatting errors and matching errors are negative numbers. The arguments are:
pcre2api page and a description of the POSIX API in the pcre2posix page.