Description
v2.04b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation)
← Previous revisionRevision as of 19:55, 8 January 2021Line 17:Line 17:
}}
}}
−
'''Perl Compatible Regular Expressions''' ('''PCRE''') is a [[library (computing)|library]] written in [[C (programming language)|C]], which implements a [[regular expression]] engine, inspired by the capabilities of the [[Perl|Perl programming language]]. [[Philip Hazel]] started writing PCRE in summer 1997. PCRE's syntax is much more powerful and flexible than either of the [[regular expression#POSIX|POSIX regular expression]] flavors (BRE, ERE) and than that of many other regular-expression libraries.
'''Perl Compatible Regular Expressions''' ('''PCRE''') is a [[library (computing)|library]] written in [[C (programming language)|C]], which implements a [[regular expression]] engine, inspired by the capabilities of the [[Perl|Perl programming language]]. [[Philip Hazel]] started writing PCRE in summer 1997. PCRE's syntax is much more powerful and flexible than either of the [[regular expression#POSIX|POSIX regular expression]] flavors (BRE, ERE) and than that of many other regular-expression libraries.
While PCRE originally aimed at feature-equivalence with Perl, the two implementations are not fully equivalent. During the PCRE 7.x and Perl 5.9.x phase, the two projects have coordinated development, with features being ported between them in both directions.
While PCRE originally aimed at feature-equivalence with Perl, the two implementations are not fully equivalent. During the PCRE 7.x and Perl 5.9.x phase, the two projects have coordinated development, with features being ported between them in both directions.
Line 25:Line 25:
A number of prominent [[open-source software|open-source programs]], such as the [[Apache HTTP Server|Apache]] and [[Nginx]] HTTP servers, and the [[PHP]] and [[R (programming language)|R]] scripting languages, incorporate the PCRE library; proprietary software can do likewise, as the library is BSD-licensed. As of Perl 5.10, PCRE is also available as a replacement for Perl's default regular-expression engine through the re::engine::PCRE module.
A number of prominent [[open-source software|open-source programs]], such as the [[Apache HTTP Server|Apache]] and [[Nginx]] HTTP servers, and the [[PHP]] and [[R (programming language)|R]] scripting languages, incorporate the PCRE library; proprietary software can do likewise, as the library is BSD-licensed. As of Perl 5.10, PCRE is also available as a replacement for Perl's default regular-expression engine through the re::engine::PCRE module.
−
The library can be built on Unix, Windows, and several other environments. PCRE2 is distributed with a POSIX C wrapper, several test programs, and the utility program `pcre2grep` built in tandem with the library.
The library can be built on Unix, Windows, and several other environments. PCRE2 is distributed with a POSIX C wrapper, several test programs, and the utility program `pcre2grep` built in tandem with the library.