pcre2v10.49
- Updated
Regular Expression pattern matching using the same syntax and semantics as Perl 5.
- Project website: https://github.com/PCRE2Project/pcre2
#Usage
pcre2 provides CMake targets:
find_package(pcre2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE PCRE2::8BIT)
target_compile_definitions(main PRIVATE PCRE2_CODE_UNIT_WIDTH=8)Choose the interface your application uses:
PCRE2::8BIT - 8-bit code units (including UTF-8)
PCRE2::16BIT - 16-bit code units (including UTF-16)
PCRE2::32BIT - 32-bit code units (including UTF-32)
PCRE2::POSIX - POSIX wrapper around the 8-bit library
For the native API, define PCRE2_CODE_UNIT_WIDTH to match the chosen library
before including <pcre2.h>, either in your source or as shown above.
The POSIX interface uses <pcre2posix.h> and needs no code-unit width definition.
pcre2 provides matching pkg-config modules:
libpcre2-8
libpcre2-16
libpcre2-32
libpcre2-posix#Supported Platforms
All platforms supported.
#Features
Default feature: platform-default-features
#jit
Enable support for Just-In-Time compiling regex matchers
Platforms: !emscripten & !ios
- ✅linux
- ✅osx
- ✅uwp
- ✅windows
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
#Dependencies
No dependencies.
#Used By
#Host Tool For
No ports use this.
#Contributors
codicodi
Alexander Karatarakis
Jacob Zhong
LarryIII
Tony Lin
grdowns
pravic
Simon Hausmann
Jack·Boos·Yu
alcroito
Billy O'Neal
Wolfgang Stöggl
Kevin Lu
Matthias Kuhn
Cameron Ward
autoantwort
Lars Glud
Kai Pastor
Thomas1664
talregev
Theodore Tsirpanis
fwcd
LE GARREC Vincent
Lily Wang
toge
SunBlack
Nick Wilson
#Changelog
Show 28 earlier changes
3d2a7ca[pcre2] Restore the https://ftp.pcre.org/ mirror in addition to the SourceForge mirrors. (#12233)bc4703dUpdate CONTROL3e12f3fUpdate CONTROL38e473c[pcre2] Bump version number6166c15Enable pcre2:arm64-windows26516fevcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7)e4523db[pcre2] update to 10.308b12f81add pcre2