PCRE_VERSION(3)
π PCRE_VERSION π
okay bestie, welcome to the PCRE girlies' corner of the Library Functions Manual β¨ this is the PCRE_VERSION(3) page and we're gonna talk about how to ask the library "hey babe what version are you" π
β¨ NAME β¨
PCRE β Perl-compatible regular expressions π¦ that's the whole vibe, that's the brand, periodt.
π SYNOPSIS π
okay so first you gotta let her in, and you do that like this:
#include <pcre.h>
and then β three whole icons, one for each flavour of library π :
const char *pcre_version(void);
const char *pcre16_version(void);
const char *pcre32_version(void);
πΈ DESCRIPTION πΈ
so this function β and yes, even in the 16-bit and 32-bit libraries, she does not switch up on you, she's consistent π β hands you back a zero-terminated, 8-bit character string. and what's inside that string? two things and two things only:
- the version number</> of the PCRE library π
- the date of its release</> ποΈ
that's it. that's the tea. no cap.
ngl if you want the whole lore, there's more reading for you:
- there's a complete description of the PCRE native API</> over on the
pcreapipage π«Ά - and a description of the POSIX API</> over on the
pcreposixpage π
go read those if you're feeling like the main character of your own regex journey fr fr π
bestie reminder: this page is just the vibe check function. it tells you who you're working with, not how to work with her. for that, go seepcreapiandpcreposixπ
and that's the page!! this lil gem comes to you from PCRE 8.30, dated 24 June 2012 β yeah she's an icon, she's been iconic, she remains iconic πβ¨π slay, bye bestie π¦
π¦ 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