Perl Compatible Regular Expressions
Perl Compatible Regular Expressions
PCRE is a C library implementing regular expression pattern matching with the same syntax and semantics as Perl 5, offering speed and portability for various software applications.
What is Perl Compatible Regular Expressions?
Perl Compatible Regular Expressions (PCRE) is a software library written in C that implements regular expression pattern matching with the same syntax and semantics as Perl 5. PCRE was originally developed by Philip Hazel and is now maintained by a team of developers on GitHub.
Some key features of PCRE include:
- Support for Perl-style regular expressions and modifiers
- Unicode support and UTF-8/16/32 string handling
- Partial matching with the "studied" optimization for performance
- Just-in-time compiling for extra speed
- Consistent escaping rules and support for pattern modifiers
- Ability to access capture groups in matches
- Integration with multiple programming languages
PCRE is a very fast, stable and portable regular expression engine. It compiles on over 15 platforms and supports at least 13 programming languages through its API. PCRE is used in many popular open source projects like Apache, PHP, Postfix and Chrome. It strikes a good balance between speed, compatibility with Perl and features compared to alternative regex libraries.
Perl Compatible Regular Expressions Features
Features
- Supports Perl 5 regular expressions and syntax
- Fast implementation written in optimized C
- Wide portability across many platforms and languages
- Allows full Unicode support for patterns and strings
- Provides subroutine interface for advanced functionality
- Includes just-in-time compiler for improved performance
- Offers partial matching capability
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewNo reviews yet
Be the first to share your experience with Perl Compatible Regular Expressions!
Login to ReviewThe Best Perl Compatible Regular Expressions Alternatives
View all Perl Compatible Regular Expressions alternatives with detailed comparison →
Top Development and Programming Languages & Tools and other similar apps like Perl Compatible Regular Expressions
Here are some alternatives to Perl Compatible Regular Expressions:
Suggest an alternative ❐Hyperscan
Oniguruma
Nregex