new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / doc / pcre2_set_glob_separator.3
1 .TH PCRE2_SET_GLOB_SEPARATOR 3 "11 July 2017" "PCRE2 10.30"
2 .SH NAME
3 PCRE2 - Perl-compatible regular expressions (revised API)
4 .SH SYNOPSIS
5 .rs
6 .sp
7 .B #include <pcre2.h>
8 .PP
9 .nf
10 .B int pcre2_set_glob_separator(pcre2_convert_context *\fIcvcontext\fP,
11 .B "  uint32_t \fIseparator_char\fP);"
12 .fi
13 .
14 .SH DESCRIPTION
15 .rs
16 .sp
17 This function is part of an experimental set of pattern conversion functions.
18 It sets the component separator character that is used when converting globs.
19 The second argument must be one of the characters forward slash, backslash, or
20 dot. The default is backslash when running under Windows, otherwise forward
21 slash. The result of the function is zero for success or PCRE2_ERROR_BADDATA if
22 the second argument is invalid.
23 .P
24 The pattern conversion functions are described in the
25 .\" HREF
26 \fBpcre2convert\fP
27 .\"
28 documentation.