||2 weeks ago|
|.github/workflows||4 months ago|
|cmake||4 months ago|
|doc||2 weeks ago|
|m4||8 years ago|
|maint||4 months ago|
|src||2 weeks ago|
|testdata||2 weeks ago|
|.bazelrc||4 weeks ago|
|.gitignore||2 weeks ago|
|132html||5 years ago|
|AUTHORS||4 months ago|
|BUILD.bazel||4 weeks ago|
|CMakeLists.txt||3 months ago|
|COPYING||7 years ago|
|ChangeLog||2 weeks ago|
|CheckMan||2 years ago|
|CleanTxt||8 years ago|
|Detrail||8 years ago|
|HACKING||1 month ago|
|LICENCE||4 months ago|
|MODULE.bazel||4 weeks ago|
|Makefile.am||4 weeks ago|
|Makefile.os4||2 weeks ago|
|NEWS||4 months ago|
|NON-AUTOTOOLS-BUILD||1 month ago|
|PrepareRelease||2 years ago|
|README||1 month ago|
|README-OS4.md||2 weeks ago|
|README.md||4 months ago|
|RunGrepTest||2 weeks ago|
|RunGrepTest.bat||4 years ago|
|RunTest||2 weeks ago|
|RunTest.bat||4 months ago|
|WORKSPACE.bazel||4 weeks ago|
|autogen.sh||9 years ago|
|config-cmake.h.in||10 months ago|
|configure.ac||2 months ago|
|index.md||4 months ago|
|libpcre2-8.pc.in||2 years ago|
|libpcre2-16.pc.in||2 years ago|
|libpcre2-32.pc.in||2 years ago|
|libpcre2-posix.pc.in||2 years ago|
|pcre2-config.in||2 years ago|
|pcre2_fuzzer.dict||5 years ago|
|pcre2_fuzzer.options||5 years ago|
|perltest.sh||2 years ago|
PCRE2 - Perl-Compatible Regular Expressions
The PCRE2 library is a set of C functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE2 has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API. The PCRE2 library is free, even for building proprietary software. It comes in three forms, for processing 8-bit, 16-bit, or 32-bit code units, in either literal or UTF encoding.
PCRE2 was first released in 2015 to replace the API in the original PCRE library, which is now obsolete and no longer maintained. As well as a more flexible API, the code of PCRE2 has been much improved since the fork.
You can check out the PCRE2 source code via Git or Subversion:
git clone https://github.com/PCRE2Project/pcre2.git svn co https://github.com/PCRE2Project/pcre2.git
If you just need the command-line PCRE2 tools on Windows, precompiled binary versions are available at this Rexegg page.
A PCRE2 port for z/OS, a mainframe operating system which uses EBCDIC as its default character encoding, can be found at http://www.cbttape.org (File 939).
You can read the PCRE2 documentation here.
Comparisons to Perl's regular expression semantics can be found in the community authored Wikipedia entry for PCRE.
There is a curated summary of changes for each PCRE release, copies of documentation from older releases, and other useful information from the third party authored RexEgg PCRE Documentation and Change Log page.
To report a problem with the PCRE2 library, or to make a feature request, please use the PCRE2 GitHub issues tracker. There is a mailing list for discussion of PCRE2 issues and development at firstname.lastname@example.org, which is where any announcements will be made. You can browse the list archives.