Skip to content
/ pcre2 Public
forked from PCRE2Project/pcre2

PCRE2 development is now based here.

License

Notifications You must be signed in to change notification settings

lbonn/pcre2

This branch is 340 commits behind PCRE2Project/pcre2:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 19, 2024
Mar 23, 2024
Mar 11, 2024
May 16, 2023
Feb 23, 2024
Mar 27, 2024
Mar 21, 2024
Jul 15, 2022
Feb 15, 2024
Aug 30, 2023
Feb 16, 2024
Mar 22, 2023
Feb 18, 2024
Jan 5, 2016
Mar 17, 2024
Apr 24, 2020
Sep 23, 2014
Sep 23, 2014
Nov 16, 2023
Feb 16, 2024
Jul 15, 2022
Feb 16, 2024
Feb 16, 2024
May 16, 2023
Jan 6, 2024
Jan 19, 2024
Apr 19, 2022
Nov 20, 2023
Nov 17, 2018
Aug 6, 2023
Aug 6, 2023
Jul 15, 2022
Feb 20, 2014
Mar 15, 2024
Mar 11, 2024
Mar 23, 2024
Apr 19, 2022
Jun 22, 2020
Jun 22, 2020
Jun 22, 2020
May 16, 2023
Oct 20, 2023
May 20, 2017
May 24, 2017
Feb 15, 2024
Feb 15, 2024
Feb 15, 2024
Feb 15, 2024
Aug 6, 2023

Repository files navigation

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.

Download

As well as downloading from the GitHub site, you can download PCRE2 or the older, unmaintained PCRE1 library from an unofficial mirror at SourceForge.

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

Contributed Ports

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).

Documentation

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.

Contact

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 pcre2-dev@googlegroups.com, which is where any announcements will be made. You can browse the list archives.

About

PCRE2 development is now based here.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.0%
  • Shell 2.3%
  • Python 1.3%
  • M4 1.2%
  • CMake 1.2%
  • Batchfile 1.0%
  • Other 1.0%