Perl Compatible Regular Expressions
Perl Compatible Regular Expressions | |
---|---|
Basic data
|
|
Maintainer | Philip Hazel |
developer | Philip Hazel |
Current version | 8.42 (March 20, 2018) |
operating system | unixoide , Windows |
programming language | C. |
category | Pattern matching |
License | 3-clause BSD |
German speaking | No |
www.pcre.org |
Perl Compatible Regular Expressions ( PCRE for short; German " Perl-compatible regular expressions ") is a program library for evaluating and using regular expressions . The name refers to the fact that the syntax of the expressions wasborrowed from the Perl programming language . It corresponds roughly to the status of Perl 5, but contains additional syntax elements. Since Perl and PCRE are developed separately, there are some deviations, for example in the naming of caches ( English named capture buffers ) and differences between the respectively accepted syntax elements, which are documented in the pcrecompat (3) man page .
PCRE was originally developed by Philip Hazel for use in Exim and is licensed under the BSD license . Many projects use PCRE, including Apache , GLib , KDE , LabVIEW and PHP . Perl can also access it with the help of the re :: engine :: PCRE module , but it has its own, much more complex library.
PCRE is currently being developed as PCRE2 on version 10.xx, while the outdated version 8.xx (referred to as PCRE1) is only provided with bug fixes.
Web links
swell
- ↑ pcre.org: CHANGELOG of the PCRE 8.xx series (PCRE1) .
- ↑ pcre.org: Man pages for PCRE .
- ↑ pcre.org: Section “ Versionens ” , accessed on October 26, 2016.