CINXE.COM
refs/heads/aml_hef_341811030 - platform/external/pcre - Git at Google
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>refs/heads/aml_hef_341811030 - platform/external/pcre - Git at Google</title><link rel="stylesheet" type="text/css" href="/+static/base.css"><link rel="stylesheet" type="text/css" href="/+static/doc.css"><link rel="stylesheet" type="text/css" href="/+static/prettify/prettify.css"><!-- default customHeadTagPart --></head><body class="Site"><header class="Site-header"><div class="Header"><a class="Header-image" href="/"><img src="//www.gstatic.com/images/branding/lockups/2x/lockup_git_color_108x24dp.png" width="108" height="24" alt="Google Git"></a><div class="Header-menu"> <a class="Header-menuItem" href="https://accounts.google.com/AccountChooser?faa=1&service=gerritcodereview&continue=https://android.googlesource.com/login/platform/external/pcre/%2B/refs/heads/aml_hef_341811030">Sign in</a> </div></div></header><div class="Site-content"><div class="Container "><div class="Breadcrumbs"><a class="Breadcrumbs-crumb" href="/?format=HTML">android</a> / <a class="Breadcrumbs-crumb" href="/platform/">platform</a> / <a class="Breadcrumbs-crumb" href="/platform/external/">external</a> / <a class="Breadcrumbs-crumb" href="/platform/external/pcre/">pcre</a> / <span class="Breadcrumbs-crumb">refs/heads/aml_hef_341811030</span></div><div class="u-monospace Metadata"><table><tr><th class="Metadata-title">commit</th><td>1ff4be9c7a25a26d3217db330589ce6c472a60a6</td><td><span>[<a href="/platform/external/pcre/+log/refs/heads/aml_hef_341811030">log</a>]</span> <span>[<a href="/platform/external/pcre/+archive/refs/heads/aml_hef_341811030.tar.gz">tgz</a>]</span></td></tr><tr><th class="Metadata-title">author</th><td>Sadaf Ebrahimi <sadafebrahimi@google.com></td><td>Tue Dec 13 23:28:18 2022 +0000</td></tr><tr><th class="Metadata-title">committer</th><td>Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com></td><td>Tue Dec 13 23:28:18 2022 +0000</td></tr><tr><th class="Metadata-title">tree</th><td><a href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/">95826d3e96d80ddeb3a3585438d34344a22a0178</a></td></tr><tr><th class="Metadata-title">parent</th><td><a href="/platform/external/pcre/+/refs/heads/aml_hef_341811030%5E1">f564029fa6be6157f84d9fe8a9c713fa5ac8f911</a> <span>[<a href="/platform/external/pcre/+/refs/heads/aml_hef_341811030%5E1..refs/heads/aml_hef_341811030/">diff</a>]</span></td></tr><tr><th class="Metadata-title">parent</th><td><a href="/platform/external/pcre/+/refs/heads/aml_hef_341811030%5E2">2113dcc6cb9e262c9a204203bc6bf1129a6fdc7c</a> <span>[<a href="/platform/external/pcre/+/refs/heads/aml_hef_341811030%5E2..refs/heads/aml_hef_341811030/">diff</a>]</span></td></tr></table></div><pre class="u-pre u-monospace MetadataMessage">Merge "Upgrade pcre to pcre2-10.42" am: 0667e80ea7 am: 649056fcca am: 2113dcc6cb Original change: <a href="https://android-review.googlesource.com/c/platform/external/pcre/+/2350403">https://android-review.googlesource.com/c/platform/external/pcre/+/2350403</a> Change-Id: <a href="https://android-review.googlesource.com/#/q/I9edc0b9dd3bca961fe464c5c5f96724473d74d75">I9edc0b9dd3bca961fe464c5c5f96724473d74d75</a> Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> </pre><div class="TreeDetail"><div class="u-sha1 u-monospace TreeDetail-sha1">tree: 95826d3e96d80ddeb3a3585438d34344a22a0178</div><ol class="FileList"><li class="FileList-item FileList-item--gitTree" title="Tree - .github/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/.github/">.github/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - cmake/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/cmake/">cmake/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - doc/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/doc/">doc/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - include/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/include/">include/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - m4/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/m4/">m4/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - maint/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/maint/">maint/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - src/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/src/">src/</a></li><li class="FileList-item FileList-item--gitTree" title="Tree - testdata/"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/testdata/">testdata/</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - .bazelrc"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/.bazelrc">.bazelrc</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - .gitignore"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/.gitignore">.gitignore</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - 132html"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/132html">132html</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - aclocal.m4"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/aclocal.m4">aclocal.m4</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - Android.bp"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/Android.bp">Android.bp</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - ar-lib"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/ar-lib">ar-lib</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - AUTHORS"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/AUTHORS">AUTHORS</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - autogen.sh"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/autogen.sh">autogen.sh</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - BUILD.bazel"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/BUILD.bazel">BUILD.bazel</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - ChangeLog"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/ChangeLog">ChangeLog</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - CheckMan"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/CheckMan">CheckMan</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - CleanTxt"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/CleanTxt">CleanTxt</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - CMakeLists.txt"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/CMakeLists.txt">CMakeLists.txt</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - compile"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/compile">compile</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - config-cmake.h.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/config-cmake.h.in">config-cmake.h.in</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - config.guess"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/config.guess">config.guess</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - config.sub"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/config.sub">config.sub</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - configure"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/configure">configure</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - configure.ac"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/configure.ac">configure.ac</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - COPYING"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/COPYING">COPYING</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - depcomp"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/depcomp">depcomp</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - Detrail"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/Detrail">Detrail</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - HACKING"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/HACKING">HACKING</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - index.md"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/index.md">index.md</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - INSTALL"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/INSTALL">INSTALL</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - install-sh"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/install-sh">install-sh</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - libpcre2-16.pc.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/libpcre2-16.pc.in">libpcre2-16.pc.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - libpcre2-32.pc.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/libpcre2-32.pc.in">libpcre2-32.pc.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - libpcre2-8.pc.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/libpcre2-8.pc.in">libpcre2-8.pc.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - libpcre2-posix.pc.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/libpcre2-posix.pc.in">libpcre2-posix.pc.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - LICENCE"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/LICENCE">LICENCE</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - ltmain.sh"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/ltmain.sh">ltmain.sh</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - Makefile.am"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/Makefile.am">Makefile.am</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - Makefile.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/Makefile.in">Makefile.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - METADATA"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/METADATA">METADATA</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - missing"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/missing">missing</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - MODULE.bazel"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/MODULE.bazel">MODULE.bazel</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - MODULE_LICENSE_BSD"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/MODULE_LICENSE_BSD">MODULE_LICENSE_BSD</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - NEWS"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/NEWS">NEWS</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - NON-AUTOTOOLS-BUILD"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/NON-AUTOTOOLS-BUILD">NON-AUTOTOOLS-BUILD</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - NOTICE"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/NOTICE">NOTICE</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - OWNERS"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/OWNERS">OWNERS</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - pcre2-config.in"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/pcre2-config.in">pcre2-config.in</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - pcre2_fuzzer.dict"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/pcre2_fuzzer.dict">pcre2_fuzzer.dict</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - pcre2_fuzzer.options"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/pcre2_fuzzer.options">pcre2_fuzzer.options</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - perltest.sh"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/perltest.sh">perltest.sh</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - PrepareRelease"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/PrepareRelease">PrepareRelease</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - README"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/README">README</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - README.md"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/README.md">README.md</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - RunGrepTest"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/RunGrepTest">RunGrepTest</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - RunGrepTest.bat"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/RunGrepTest.bat">RunGrepTest.bat</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - RunTest"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/RunTest">RunTest</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - RunTest.bat"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/RunTest.bat">RunTest.bat</a></li><li class="FileList-item FileList-item--executableFile" title="Executable file - test-driver"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/test-driver">test-driver</a></li><li class="FileList-item FileList-item--regularFile" title="Regular file - WORKSPACE.bazel"><a class="FileList-itemLink" href="/platform/external/pcre/+/refs/heads/aml_hef_341811030/WORKSPACE.bazel">WORKSPACE.bazel</a></li></ol><div class="InlineReadme"><div class="InlineReadme-path">README.md</div><div class="doc"><h1><a class="h" name="PCRE2-Perl_Compatible-Regular-Expressions" href="#PCRE2-Perl_Compatible-Regular-Expressions"><span></span></a><a class="h" name="pcre2-perl_compatible-regular-expressions" href="#pcre2-perl_compatible-regular-expressions"><span></span></a>PCRE2 - Perl-Compatible Regular Expressions</h1><p>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.</p><p>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.</p><h2><a class="h" name="Download" href="#Download"><span></span></a><a class="h" name="download" href="#download"><span></span></a>Download</h2><p>As well as downloading from the <a href="https://github.com/PCRE2Project/pcre2">GitHub site</a>, you can download PCRE2 or the older, unmaintained PCRE1 library from an <a href="https://sourceforge.net/projects/pcre/files/"><em>unofficial</em> mirror</a> at SourceForge.</p><p>You can check out the PCRE2 source code via Git or Subversion:</p><pre class="code">git clone https://github.com/PCRE2Project/pcre2.git svn co https://github.com/PCRE2Project/pcre2.git </pre><h2><a class="h" name="Contributed-Ports" href="#Contributed-Ports"><span></span></a><a class="h" name="contributed-ports" href="#contributed-ports"><span></span></a>Contributed Ports</h2><p>If you just need the command-line PCRE2 tools on Windows, precompiled binary versions are available at this <a href="http://www.rexegg.com/pcregrep-pcretest.html">Rexegg page</a>.</p><p>A PCRE2 port for z/OS, a mainframe operating system which uses EBCDIC as its default character encoding, can be found at <a href="http://www.cbttape.org/">http://www.cbttape.org</a> (File 939).</p><h2><a class="h" name="Documentation" href="#Documentation"><span></span></a><a class="h" name="documentation" href="#documentation"><span></span></a>Documentation</h2><p>You can read the PCRE2 documentation <a href="https://PCRE2Project.github.io/pcre2/doc/html/index.html">here</a>.</p><p>Comparisons to Perl's regular expression semantics can be found in the community authored Wikipedia entry for PCRE.</p><p>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 <a href="http://www.rexegg.com/pcre-documentation.html">RexEgg PCRE Documentation and Change Log page</a>.</p><h2><a class="h" name="Contact" href="#Contact"><span></span></a><a class="h" name="contact" href="#contact"><span></span></a>Contact</h2><p>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 <a href="mailto:pcre2-dev@googlegroups.com">pcre2-dev@googlegroups.com</a>, which is where any announcements will be made. You can browse the <a href="https://groups.google.com/g/pcre2-dev">list archives</a>.</p></div></div></div></div> <!-- Container --></div> <!-- Site-content --><footer class="Site-footer"><div class="Footer"><span class="Footer-poweredBy">Powered by <a href="https://gerrit.googlesource.com/gitiles/">Gitiles</a>| <a href="https://policies.google.com/privacy">Privacy</a>| <a href="https://policies.google.com/terms">Terms</a></span><span class="Footer-formats"><a class="u-monospace Footer-formatsItem" href="?format=TEXT">txt</a> <a class="u-monospace Footer-formatsItem" href="?format=JSON">json</a></span></div></footer></body></html>