1. Home
  2. Browse
  3. pcre2

pcre2

v10.47#1Latest

Regular Expression pattern matching using the same syntax and semantics as Perl 5.

Install

Run the following Vcpkg command to install the port.

vcpkg install pcre2

Usage

pcre2 provides CMake targets:

find_package(pcre2 CONFIG REQUIRED)

target_link_libraries(main PRIVATE PCRE2::8BIT PCRE2::16BIT PCRE2::32BIT PCRE2::POSIX)

pcre2 provides pkg-config modules:

# PCRE2 - Perl compatible regular expressions C library (2nd API) with 16 bit character support

libpcre2-16

# PCRE2 - Perl compatible regular expressions C library (2nd API) with 32 bit character support

libpcre2-32

# PCRE2 - Perl compatible regular expressions C library (2nd API) with 8 bit character support

libpcre2-8

# Posix compatible interface to libpcre2-8

libpcre2-posix

Features

Dependencies

See source

Version

v10.47#1

Publication

Supports

All

Homepage

github.com/PCRE2Project/pcre2

Subtree

06a7fdd564

License

BSD-3-Clause

Definition

Manifest