blob: 5d78c097f2fa4582188361cd0182c09a5077ecb4 [file] [log] [blame]
Elliott Hughes9bc971b2018-07-27 13:23:14 -07001.TH PCRE2_SET_GLOB_SEPARATOR 3 "11 July 2017" "PCRE2 10.30"
2.SH NAME
3PCRE2 - 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
17This function is part of an experimental set of pattern conversion functions.
18It sets the component separator character that is used when converting globs.
Elliott Hughes653c2102019-01-09 15:41:36 -080019The second argument must be one of the characters forward slash, backslash, or
Elliott Hughes9bc971b2018-07-27 13:23:14 -070020dot. The default is backslash when running under Windows, otherwise forward
21slash. The result of the function is zero for success or PCRE2_ERROR_BADDATA if
22the second argument is invalid.
23.P
24The pattern conversion functions are described in the
25.\" HREF
26\fBpcre2convert\fP
27.\"
28documentation.