1PCRE2_SET_GLOB_SEPARATOR(3)Library Functions ManualPCRE2_SET_GLOB_SEPARATOR(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 int pcre2_set_glob_separator(pcre2_convert_context *cvcontext,
13 uint32_t separator_char);
14
16
17 This function is part of an experimental set of pattern conversion
18 functions. It sets the component separator character that is used when
19 converting globs. The second argument must be one of the characters
20 forward slash, backslash, or dot. The default is backslash when running
21 under Windows, otherwise forward slash. The result of the function is
22 zero for success or PCRE2_ERROR_BADDATA if the second argument is
23 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_SEPARATOR(3)