← Previous revisionRevision as of 14:37, 4 December 2020Line 1:Line 1:−
{{short description|Software library for interpreting regular expressions}}
{{short description|Software
−
{{Infobox software
−
| name = Perl Compatible Regular Expressions
−
| logo =
−
| author = [[Philip Hazel]]
−
| developer =
−
| released =
−
| latest_release_version = PCRE 8.44 and PCRE2 10.35
| latest_release_date = {{start date and age|2020|5|9}}
| latest_release_date = {{start date and age|2020|5|9}}
| latest_preview_version =
| latest_preview_version =
Line 12:Line 5:
| programming language = [[C (programming language)|C]]
| programming language = [[C (programming language)|C]]
| operating_system = [[Cross-platform]]
| operating_system = [[Cross-platform]]
| genre [[library (computimore 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.
−
| genre = [[Pattern matching]] [[library (computing)|library]]
−
| license = [[BSD licenses|BSD]]
−
| website = [https://www.pcre.org/ www.pcre.org]
−
}}
−−
'''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 13:
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` b
−−−−−
== Features ==
== Features ==
https://en.wikipedia.org/w/index.php?title=Perl_Compatible_Regular_Expressions&diff=992289815&oldid=prev
← Previous revisionRevision as of 14:37, 4 December 2020Line 1:Line 1:−
{{short description|Software library for interpreting regular expressions}}
{{short description|Software
−
{{Infobox software
−
| name = Perl Compatible Regular Expressions
−
| logo =
−
| author = [[Philip Hazel]]
−
| developer =
−
| released =
−
| latest_release_version = PCRE 8.44 and PCRE2 10.35
| latest_release_date = {{start date and age|2020|5|9}}
| latest_release_date = {{start date and age|2020|5|9}}
| latest_preview_version =
| latest_preview_version =
Line 12:Line 5:
| programming language = [[C (programming language)|C]]
| programming language = [[C (programming language)|C]]
| operating_system = [[Cross-platform]]
| operating_system = [[Cross-platform]]
| genre [[library (computimore 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.
−
| genre = [[Pattern matching]] [[library (computing)|library]]
−
| license = [[BSD licenses|BSD]]
−
| website = [https://www.pcre.org/ www.pcre.org]
−
}}
−−
'''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 13:
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` b
−−−−−
== Features ==
== Features ==
https://en.wikipedia.org/w/index.php?title=Perl_Compatible_Regular_Expressions&diff=992289815&oldid=prev