pcre2 - Perl-compatible regular expression library

Property Value
Distribution CentOS 6
Repository EPEL x86_64
Package name pcre2
Package version 10.21
Package release 22.el6
Package architecture x86_64
Package type rpm
Installed size 1.35 MB
Download size 393.98 KB
Official Mirror download-ib01.fedoraproject.org
PCRE2 is a re-working of the original PCRE (Perl-compatible regular
expression) library to provide an entirely new API.
PCRE2 is written in C, and it has its own API. There are three sets of
functions, one for the 8-bit library, which processes strings of bytes, one
for the 16-bit library, which processes strings of 16-bit values, and one for
the 32-bit library, which processes strings of 32-bit values. There are no C++
The distribution does contain a set of C wrapper functions for the 8-bit
library that are based on the POSIX regular expression API (see the pcre2posix
man page). These can be found in a library called libpcre2posix. Note that
this just provides a POSIX calling interface to PCRE2; the regular expressions
themselves still follow Perl syntax and semantics. The POSIX API is
restricted, and does not give full access to all of PCRE2's facilities.


Package Version Architecture Repository
pcre2-10.21-22.el6.i686.rpm 10.21 i686 EPEL
pcre2-10.21-22.el6.i686.rpm 10.21 i686 EPEL
pcre2 - - -


Name Value
/sbin/ldconfig -
libc.so.6(GLIBC_2.4)(64bit) -
libpthread.so.0()(64bit) -
libpthread.so.0(GLIBC_2.2.5)(64bit) -
rtld(GNU_HASH) -


Name Value
libpcre2-16.so.0()(64bit) -
libpcre2-32.so.0()(64bit) -
libpcre2-8.so.0()(64bit) -
libpcre2-posix.so.0()(64bit) -
pcre2 = 10.21-22.el6
pcre2(x86-64) = 10.21-22.el6


Type URL
Binary Package pcre2-10.21-22.el6.x86_64.rpm
Source Package pcre2-10.21-22.el6.src.rpm

Install Howto

  1. Download latest epel-release rpm from
  2. Install epel-release rpm:
    # rpm -Uvh epel-release*rpm
  3. Install pcre2 rpm package:
    # yum install pcre2




2018-09-18 - Petr Pisar <ppisar@redhat.com> - 10.21-22
- Fix a subject buffer overread in JIT when UTF is disabled and \X or \R has
a greater than 1 fixed quantifier (upstream bug #2320)
2017-11-02 - Petr Pisar <ppisar@redhat.com> - 10.21-21
- Accept files names longer than 128 bytes in recursive mode of pcre2grep
(upstream bug #2177)
2017-11-01 - Petr Pisar <ppisar@redhat.com> - 10.21-20
- Fix CVE-2017-8786 (32-bit error buffer size bug in pcre2test) (bug #1500719)
2017-06-16 - Petr Pisar <ppisar@redhat.com> - 10.21-19
- Fix DFA matching a lookbehind assertion that has a zero-length branch
(PCRE2 oss-fuzz issue 1859)
- Fix returned offsets from regexec() when REG_STARTEND is used with starting offset
greater than zero (upstream bug #2128)
2017-04-18 - Petr Pisar <ppisar@redhat.com> - 10.21-18
- Fix CVE-2017-7186 in JIT mode (a crash when finding a Unicode property for
a character with a code point greater than 0x10ffff in UTF-32 library while
UTF mode is disabled) (bug #1434504)
- Fix an incorrect cast in UTF validation (upstream bug #2090)
2017-03-27 - Petr Pisar <ppisar@redhat.com> - 10.21-17
- Fix DFA match for a possessively repeated character class (upstream bug #2086)
- Use a memory allocator from the pattern if no context is supplied to
2017-03-22 - Petr Pisar <ppisar@redhat.com> - 10.21-16
- Close serialization file in pcre2test after any error (upstream bug #2074)
- Fix a potential NULL dereference in pcre2_callout_enumerate() if called with
a NULL pattern pointer when Unicode support is available (upstream bug #2076)
2017-03-20 - Petr Pisar <ppisar@redhat.com> - 10.21-15
- Fix a pcre2test bug for global match with zero terminated subject
(upstream bug #2063)
2017-02-27 - Petr Pisar <ppisar@redhat.com> - 10.21-14
- Handle memmory allocation failures in pcre2test tool
- Fix CVE-2017-7186 (a crash when finding a Unicode property for a character
with a code point greater than 0x10ffff in UTF-32 library while UTF mode is
disabled) (upstream bug #2052)
2017-02-14 - Petr Pisar <ppisar@redhat.com> - 10.21-13
- Fix pcre2grep multi-line matching --only-matching option (upstream bug #1848)

See Also

Package Description
pcre2-devel-10.21-22.el6.i686.rpm Development files for pcre2
pcre2-devel-10.21-22.el6.x86_64.rpm Development files for pcre2
pcre2-static-10.21-22.el6.i686.rpm Static library for pcre2
pcre2-static-10.21-22.el6.x86_64.rpm Static library for pcre2
pcre2-tools-10.21-22.el6.x86_64.rpm Auxiliary utilities for pcre2
pcsc-cyberjack-3.99.5final.SP11-1.el6.x86_64.rpm PC/SC driver for REINER SCT cyberjack USB chip card reader
pcsc-cyberjack-cjflash-3.99.5final.SP11-1.el6.x86_64.rpm Flash tool for cyberJack
pcsc-cyberjack-examples-3.99.5final.SP11-1.el6.x86_64.rpm Sample code
pcsc-perl-1.4.14-2.el6.x86_64.rpm Perl interface to the PC/SC smart card library
pcsc-tools-1.4.25-1.el6.x86_64.rpm Tools to be used with smart cards and PC/SC
pdfcrack-0.14-1.el6.x86_64.rpm A Password Recovery Tool for PDF files
pdfedit-0.4.5-8.el6.x86_64.rpm A complete pdf document editing solution
pdfgrep-1.2-7.el6.x86_64.rpm Tool to search text in PDF files
pdfjam-2.08-1.el6.noarch.rpm Utilities for joining, rotating and aligning PDFs
pdfmerge-1.0.4-1.el6.noarch.rpm Command line utility program for merging PDF files