61 lines
1.6 KiB
HTML
61 lines
1.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PCRE2_SET_GLOB_SEPARATOR</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PCRE2_SET_GLOB_SEPARATOR</H1>
|
|
Section: C Library Functions (3)<BR>Updated: 11 July 2017<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
PCRE2 - Perl-compatible regular expressions (revised API)
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
<P>
|
|
<B>#include <<A HREF="file:///usr/include/pcre2.h">pcre2.h</A>></B>
|
|
|
|
<P>
|
|
|
|
<PRE>
|
|
<B>int pcre2_set_glob_separator(pcre2_convert_context *</B><I>cvcontext</I>,
|
|
<B> uint32_t </B><I>separator_char</I>);
|
|
</PRE>
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
This function is part of an experimental set of pattern conversion functions.
|
|
It sets the component separator character that is used when converting globs.
|
|
The second argument must be one of the characters forward slash, backslash, or
|
|
dot. The default is backslash when running under Windows, otherwise forward
|
|
slash. The result of the function is zero for success or PCRE2_ERROR_BADDATA if
|
|
the second argument is invalid.
|
|
<P>
|
|
|
|
The pattern conversion functions are described in the
|
|
|
|
<B>pcre2convert</B>
|
|
|
|
documentation.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:50 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|