Merge "Upgrade libpcre2 to pcre2-10.44" into main am: 1d42c538e2

Original change: https://android-review.googlesource.com/c/platform/external/pcre/+/3118143

Change-Id: I8885d660e855da943b7ef1cc0f8934da9b235324
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 3c55b103061b07a56dadf099cb86d39fa86532b1
  1. .github/
  2. cmake/
  3. doc/
  4. include/
  5. m4/
  6. maint/
  7. src/
  8. testdata/
  9. vms/
  10. .bazelrc
  11. .gitignore
  12. 132html
  13. aclocal.m4
  14. Android.bp
  15. ar-lib
  16. AUTHORS
  17. autogen.sh
  18. BUILD.bazel
  19. build.zig
  20. ChangeLog
  21. CheckMan
  22. CleanTxt
  23. CMakeLists.txt
  24. compile
  25. config-cmake.h.in
  26. config.guess
  27. config.sub
  28. configure
  29. configure.ac
  30. COPYING
  31. depcomp
  32. Detrail
  33. HACKING
  34. index.md
  35. INSTALL
  36. install-sh
  37. libpcre2-16.pc.in
  38. libpcre2-32.pc.in
  39. libpcre2-8.pc.in
  40. libpcre2-posix.pc.in
  41. LICENCE
  42. ltmain.sh
  43. Makefile.am
  44. Makefile.in
  45. METADATA
  46. missing
  47. MODULE.bazel
  48. MODULE_LICENSE_BSD
  49. NEWS
  50. NON-AUTOTOOLS-BUILD
  51. NOTICE
  52. OWNERS
  53. pcre2-config.in
  54. pcre2_fuzzer.dict
  55. pcre2_fuzzer.options
  56. pcre2_fuzzer_16.dict
  57. pcre2_fuzzer_16.options
  58. pcre2_fuzzer_32.dict
  59. pcre2_fuzzer_32.options
  60. perltest.sh
  61. PrepareRelease
  62. README
  63. README.md
  64. RunGrepTest
  65. RunGrepTest.bat
  66. RunTest
  67. RunTest.bat
  68. test-driver
  69. WORKSPACE.bazel
README.md

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.