pcre_version(3)

pcre_version3

Perl-compatible regular expressions

Usage

#include <pcre.h>

const char *pcre_version(void);

const char *pcre16_version(void);

const char *pcre32_version(void);

Overview

This function (even in the 16-bit and 32-bit libraries) returns a zero-terminated, 8-bit character string that gives the version number of the PCRE library and the date of its release.

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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0–6.0
  3. 7
  4. 8–Arch

From pcre 8.45-5 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.