PCRE_REFCOUNT(3)
π NAME π
PCRE β Perl-compatible regular expressions π¦
β¨ SYNOPSIS β¨
#include <pcre.h>
int pcre_refcount(pcre *code, int adjust);
int pcre16_refcount(pcre16 *code, int adjust);
int pcre32_refcount(pcre32 *code, int adjust);
π DESCRIPTION π
okay so bestie, this is the PCRE_REFCOUNT(3) page from the Library Functions Manual, and it's giving βtiny but importantβ energy fr fr. This function is used to maintain a reference count inside a data block that contains a compiled pattern. Its arguments are:
codeβ Compiled regular expressionadjustβ Adjustment to reference value
The yield of the function is the adjusted reference value, which is constrained to lie between 0 and 65535. no cap, that's the whole range, bestie π«Ά
There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page. go read those if you want the full lore π
PCRE 8.30 Β· 24 June 2012 Β· PCRE_REFCOUNT(3) π mwah, that's the source/version + date sign-off, periodt β¨
π¦ where this page comes from
- alpine 3.22: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.23: pcre-doc 8.45-r4 Β· BSD-3-Clause
- alpine 3.24: pcre-doc 8.45-r4 Β· BSD-3-Clause
- arch rolling: pcre 8.45-5 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- centos-stream 9: pcre-devel 8.44-4.el9 Β· BSD
- debian bookworm: libpcre3-dev 2:8.39-15
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 43: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- fedora 44: pcre-devel 8.45-1.fc43.9 Β· BSD-3-Clause
- nixos 26.05: pcre 8.45
- nixos 26.05: pcre-cpp 8.45
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: pcre-devel 8.45-160000.2.2 Β· BSD-3-Clause
- ubuntu jammy: libpcre3-dev 2:8.39-13build5
- ubuntu jammy: libpcre3-dev 2:8.39-13ubuntu0.22.04.1
- ubuntu noble: libpcre3-dev 2:8.39-15build1
- ubuntu questing: libpcre3-dev 2:8.39-15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms