1PCRE2_SET_GLOB_ESCAPE(3)   Library Functions Manual   PCRE2_SET_GLOB_ESCAPE(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_glob_escape(pcre2_convert_context *cvcontext,
13         uint32_t escape_char);
14

DESCRIPTION

16
17       This  function  is  part  of  an experimental set of pattern conversion
18       functions.  It sets the escape character that is used  when  converting
19       globs.  The  second  argument  must either be zero (meaning there is no
20       escape character) or a punctuation character whose code point  is  less
21       than  256. The default is grave accent if running under Windows, other‐
22       wise backslash. The result of the  function  is  zero  for  success  or
23       PCRE2_ERROR_BADDATA if the second argument is invalid.
24
25       The pattern conversion functions are described in the pcre2convert doc‐
26       umentation.
27
28
29
30PCRE2 10.30                      11 July 2017         PCRE2_SET_GLOB_ESCAPE(3)
Impressum