Linux repositories inspector

pcre2 - A library that implements Perl 5-style regular expressions. 2nd version

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++ wrappers. This package provides support for strings in 8-bit and UTF-8 encodings. Install pcre2-utf16 or pcre2-utf32 packages for the other ones.
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.
10.33
Arch iconArch rolling
Fedora iconFedora rawhide
10.32
Fedora iconFedora 29
Fedora iconFedora 30
Manjaro iconManjaro rolling
10.31
Fedora iconFedora 28
Fedora iconFedora 29
10.23
CentOS iconCentOS 7.6.1810
DistributionVersionSincePackageInstalledPackager
Arch iconArch rolling core/osxz10.33-1Jun 171 MiB3.72 MiB
CentOS iconCentOS 7.6.1810 osrpm10.23-2.el7Jan 14201 kiB556 kiBCentOS BuildSystem
Fedora iconFedora 28 releases/Everything-osrpm10.31-4.fc28Jan 14236 kiB622 kiBFedora Project
Fedora iconFedora 28 releases/Server-osrpm10.31-4.fc28Jan 14236 kiB622 kiBFedora Project
Fedora iconFedora 28 releases/Workstation-osrpm10.31-4.fc28Jan 14236 kiB622 kiBFedora Project
Fedora iconFedora 29 releases/Everything-osrpm10.32-3.fc29Jan 14236 kiB649 kiBFedora Project
Fedora iconFedora 29 releases/Server-osrpm10.32-3.fc29Jan 14236 kiB649 kiBFedora Project
Fedora iconFedora 29 releases/Workstation-osrpm10.32-3.fc29Jan 14236 kiB649 kiBFedora Project
Fedora iconFedora 29 releases-test/Everything-osrpm10.31-10.fc29Jan 14231 kiB627 kiBFedora Project
Fedora iconFedora 29 releases-test/Server-osrpm10.31-10.fc29Jan 14231 kiB627 kiBFedora Project
Fedora iconFedora 29 releases-test/Workstation-osrpm10.31-10.fc29Jan 14231 kiB627 kiBFedora Project
Fedora iconFedora 30 releases/Everything-osrpm10.32-9.fc30Jun 17235 kiB694 kiBFedora Project
Fedora iconFedora 30 releases/Server-osrpm10.32-9.fc30Jun 17235 kiB694 kiBFedora Project
Fedora iconFedora 30 releases/Workstation-osrpm10.32-9.fc30Jun 17235 kiB694 kiBFedora Project
Fedora iconFedora 30 releases-test/Server-osrpm10.32-8.fc30Jun 17236 kiB694 kiBFedora Project
Fedora iconFedora 30 releases-test/Workstation-osrpm10.32-8.fc30Jun 17236 kiB694 kiBFedora Project
Fedora iconFedora rawhide development/Everything-osrpm10.33-10.fc31Aug 06255 kiB694 kiBFedora Project
Fedora iconFedora rawhide development/Server-osrpm10.33-11.fc3101:17255 kiB694 kiBFedora Project
Fedora iconFedora rawhide development/Workstation-osrpm10.33-10.fc31Aug 06255 kiB694 kiBFedora Project
Manjaro iconManjaro rolling stable/corexz10.32-2Jan 24986 kiB3.57 MiB
Manjaro iconManjaro rolling testing/corexz10.32-2Jan 19986 kiB3.57 MiB
Manjaro iconManjaro rolling unstable/corexz10.32-2Jan 14986 kiB3.57 MiB

Manual pages

pcre2-config(1)

pcre2-config - program to return PCRE2 configuration

pcre2grep(1)

pcre2grep - a grep with Perl-compatible regular expressions.

pcre2test(1)

pcre2test - a program for testing Perl-compatible regular expressions.

pcre2(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2api(3)

PCRE2 - Perl-compatible regular expressions (revised API) #include <pcre2.h> PCRE2 is a new API for PCRE. This document contains a description of all its functions. See the pcre2 document for an overview of all the PCRE2 documentation.

pcre2build(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2callout(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2compat(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2convert(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2jit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2limits(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2matching(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2partial(3)

PCRE2 - Perl-compatible regular expressions

pcre2pattern(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2perform(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2posix(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2sample(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2serialize(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2syntax(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2unicode(3)

PCRE - Perl-compatible regular expressions (revised API)

pcre2_callout_enumerate(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_code_copy(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_code_copy_with_tables(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_code_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_compile(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_compile_context_copy(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_compile_context_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_compile_context_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_config(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_converted_pattern_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_convert_context_copy(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_convert_context_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_convert_context_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_dfa_match(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_general_context_copy(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_general_context_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_general_context_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_get_error_message(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_get_mark(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_get_ovector_count(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_get_ovector_pointer(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_get_startchar(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_compile(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_free_unused_memory(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_match(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_stack_assign(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_stack_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_jit_stack_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_maketables(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_context_copy(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_context_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_context_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_data_create(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_data_create_from_pattern(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_match_data_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_pattern_convert(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_pattern_info(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_serialize_decode(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_serialize_encode(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_serialize_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_serialize_get_number_of_codes(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_bsr(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_callout(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_character_tables(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_compile_extra_options(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_compile_recursion_guard(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_depth_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_glob_escape(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_glob_separator(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_heap_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_match_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_max_pattern_length(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_newline(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_offset_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_parens_nest_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_recursion_limit(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_set_recursion_memory_management(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substitute(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_copy_byname(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_copy_bynumber(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_get_byname(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_get_bynumber(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_length_byname(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_length_bynumber(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_list_free(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_list_get(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_nametable_scan(3)

PCRE2 - Perl-compatible regular expressions (revised API)

pcre2_substring_number_from_name(3)

PCRE2 - Perl-compatible regular expressions (revised API)

Latest updates

Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-10.fc31 to 10.33-11.fc31

01:17
  • Fix reporting rightmost consulted characters
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-9.fc31.1 to 10.33-10.fc31

Aug 06
  • Fix an incorrect computation of a group length when a branch exceeds 65535 (upstream bug #2428)
  • Use HTTPS protocol in URL metadata
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-9.fc31.1 to 10.33-10.fc31

Aug 06
  • Fix an incorrect computation of a group length when a branch exceeds 65535 (upstream bug #2428)
  • Use HTTPS protocol in URL metadata
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-9.fc31.1 to 10.33-10.fc31

Aug 06
  • Fix an incorrect computation of a group length when a branch exceeds 65535 (upstream bug #2428)
  • Use HTTPS protocol in URL metadata
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-9.fc31 to 10.33-9.fc31.1

Aug 03
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-9.fc31 to 10.33-9.fc31.1

Aug 03
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-9.fc31 to 10.33-9.fc31.1

Aug 03
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-8.fc31 to 10.33-9.fc31

Jul 23
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-8.fc31 to 10.33-9.fc31

Jul 23
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-8.fc31 to 10.33-9.fc31

Jul 23
  • Fix a recursion in compiling an expression with a lookbehind within a lookahead (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-7.fc31 to 10.33-8.fc31

Jul 20
  • Fix a mismatch with a lookbehind within a lookahead within a lookbehind (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-7.fc31 to 10.33-8.fc31

Jul 20
  • Fix a mismatch with a lookbehind within a lookahead within a lookbehind (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-7.fc31 to 10.33-8.fc31

Jul 20
  • Fix a mismatch with a lookbehind within a lookahead within a lookbehind (upstream bug #2412)
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-6.fc31 to 10.33-7.fc31

Jul 12
  • Fix an integer overflow when checking a lookbehind length
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-6.fc31 to 10.33-7.fc31

Jul 12
  • Fix an integer overflow when checking a lookbehind length
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-6.fc31 to 10.33-7.fc31

Jul 12
  • Fix an integer overflow when checking a lookbehind length
Fedora rawhide icon

Fedora rawhide development/Everything-os: Updated from 10.33-5.fc31 to 10.33-6.fc31

Jul 05
  • Fix a DFA to recognize a partial match if the end of a subject is encountered in a lookahead, an atomic group, or a recursion
Fedora rawhide icon

Fedora rawhide development/Server-os: Updated from 10.33-5.fc31 to 10.33-6.fc31

Jul 05
  • Fix a DFA to recognize a partial match if the end of a subject is encountered in a lookahead, an atomic group, or a recursion
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-5.fc31 to 10.33-6.fc31

Jul 05
  • Fix a DFA to recognize a partial match if the end of a subject is encountered in a lookahead, an atomic group, or a recursion
Fedora rawhide icon

Fedora rawhide development/Workstation-os: Updated from 10.33-3.fc31 to 10.33-5.fc31

Jun 21
  • Do not ignore {1} quantifier when it is applied to a non-possessive group with more alternatives

Related packages

pcre2-debuginfo - Debug information for package pcre2
pcre2-debugsource - Debug sources for package pcre2
pcre2-devel - A library for Perl-compatible regular expressions
pcre2-devel-static - A library for Perl-compatible regular expressions
pcre2-doc - A library for Perl-compatible regular expressions
pcre2-static - Static library for pcre2
pcre2-tools - A library for Perl-compatible regular expressions
pcre2-tools-debuginfo - Debug information for package pcre2-tools
pcre2-utf16 - UTF-16 variant of PCRE2
pcre2-utf16-debuginfo - Debug information for package pcre2-utf16
pcre2-utf32 - UTF-32 variant of PCRE2
pcre2-utf32-debuginfo - Debug information for package pcre2-utf32
pcre2-utils - New Perl Compatible Regular Expression Library - utilities
⇧ Top