pcre2
« Back to VersTracker
Description:
Perl compatible regular expressions library with a new API
Type: Formula  |  Latest Version: 10.47@0  |  Tracked Since: Oct 22, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: regex library c perl text-processing
Install: brew install pcre2
About:
PCRE2 is the new API for the Perl Compatible Regular Expressions library, designed as a fully-featured, high-performance alternative to the regex engines found in many programming languages. It supports a rich set of pattern matching syntax, Unicode, and just-in-time compilation for significant speed improvements. This library is ideal for applications requiring complex text processing and robust pattern matching capabilities.
Key Features:
  • Perl-compatible syntax with advanced pattern matching features
  • Just-In-Time (JIT) compilation for optimized performance
  • Full Unicode support including properties and character classes
  • API for 8-bit, 16-bit, and 32-bit character handling
Use Cases:
  • Embedding a powerful regex engine into C/C++ applications
  • Performing complex text parsing and data extraction tasks
  • Validating and processing user input in command-line tools
Alternatives:
  • oniguruma – Another advanced regex library, often noted for its support for multiple encodings and syntax flavors.
Version History
Detected Version Rev Change Commit
Oct 22, 2025 6:11am 0 VERSION_BUMP 9862c24d
Sep 13, 2025 12:34pm 0 VERSION_BUMP ccc01ca8
Sep 10, 2025 3:50am 0 VERSION_BUMP 12c5d839
Sep 16, 2024 11:39pm 0 VERSION_BUMP b4b06c0f