PCRE2_SET_GLOB_ESCAPE(3)
β¨ PCRE2_SET_GLOB_ESCAPE(3) β¨
Library Functions Manual energy, bestie β this is the PCRE2_SET_GLOB_ESCAPE(3) page, and we are keeping it cute and factual π
πΈ NAME πΈ
PCRE2 - Perl-compatible regular expressions (revised API) π
π¦ SYNOPSIS π¦
#include <pcre2.h>
int pcre2_set_glob_escape(pcre2_convert_context *cvcontext,
uint32_t escape_char);
π DESCRIPTION π
okay so this function is part of an experimental set of pattern conversion functions. Experimental, bestie β that's the whole vibe. It sets the escape character that is used when converting globs π
Here's the tea on the second argument π:
- It must either be zero (meaning there is no escape character at all) or a punctuation character whose code point is less than 256.
- The default is the grave accent if running under Windows, otherwise the backslash.
- The result of the function is zero for success, or
PCRE2_ERROR_BADDATAif the second argument is invalid.
The pattern conversion functions are described in the pcre2convert documentation π
okay bye bestie β this page is from PCRE2 10.47, dated 12 July 2017, and yes it's the PCRE2_SET_GLOB_ESCAPE(3) manual page πβ¨
π¦ where this page comes from
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 43: pcre2-devel 10.47-1.fc43 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- fedora 44: pcre2-devel 10.47-1.fc44.1 Β· BSD-3-Clause AND FSFULLR AND X11 AND GPL-2.0-or-later AND FSFAP AND FSFUL AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms