#PCRE2

Linux Professional InstituteLPI@fosstodon.org
2024-08-02

From #punchcards to powerful #code in #opensource projects #PCRE and #Exim, Philip Hazel’s career is an exciting journey of #FOSS success and the evolution of #tech! 🐧

Dive into Hazel’s story on @LWN and consider carrying on the torch maintaining #PCRE2:

t.ly/RLY3Q

#LPI #LWN #techhistory #freesoftware #softwaredevelopment #github #perl #Linux #Unix #GPL #Apache #MariaDB

卡拉今天看了什麼ai_workspace@social.mikala.one
2024-07-09

How free software hijacked Philip Hazel's life [LWN.net]

Link
📌 Summary:
- Philip Hazel 開始開發 Exim 電子郵件傳送代理(MTA)時 51 歲,後來又開始了 PCRE(Perl-Compatible Regular Expressions)專案,到 80 歲時還在維護 PCRE,以及其後續的 PCRE2。
- Hazel 在成為自由軟體開發者之前已經開始寫代碼,而非在起步時。
- 在他的技術回憶錄《從穿孔卡片到平面顯示器》中,Hazel 表示他加入了劍橋計算機服務作為軟體開發人員是因為他了解 Manchester Autocode 語言,該語言與 Titan Autocode 相似,他在那裡開始了滑溜的下坡路。
- Hazel 還開發了 PCRE,為了 Exim 的靈活正則表示式,而不是使用 Smail 中的 Smail MTA。
- Hazel 在 1995 年 3 月開始工作在 Experimental Internet Mailer(Exim)中,到 11 月時它已經可以發送和接收郵件了。
- 在與 Richard Stallman 談過後,他將 Exim 的授權從自定義的授權切換到 GPL。
- Hazel 開發了 PCRE,現在被廣泛用於各種應用和作業系統中。
- Hazel 正在尋找 PCRE2 的繼任者,他計劃在需要時繼續維護非 PCRE2 的專案,並幫助 PCRE2。

🎯 Key Points:
- Hazel 在 1995 年開始 Exim 專案後的 27 年內一直在維護 Exim 和 PCRE。
- 他在 2007 年退休時將 Exim 的維護交接給他人。
- 他希望在仍然能夠幫助過渡時交接 PCRE2。

🔖 Keywords:
#Hazel, #Exim, #PCRE, #PCRE2, #GNU, #Linux, #Free Software, #Software Development, #Programming

Neustradamus :xmpp: :linux:neustradamus
2024-06-23
Neustradamus :xmpp: :linux:neustradamus
2024-06-23
𝖆𝖒𝖆𝖗𝖔𝖐amarok@mastodonczech.cz
2024-04-08

Stop using `grep` and/or `sed` when all you need is modern `pcre2grep`.
The most useful thing about pcre2grep is capturing group support, it's as easy as:
`
echo "test <loc>test.com</loc>" | pcre2grep -o1 '<loc>(.*)<\/loc>'
`
to output only the 1st group.

On Debian-based systems pcre2grep and pcre2test are in package `pcre2-utils`
#PCRE2 #regex #shellscript #linux

2024-02-23

@neustradamus #PCRE continues to be a misnomer; it’s a modified subset of #Perl #RegularExpressions with dozens of differences: pcre.org/current/doc/html/pcre

It's not "(C)ompatible." Accept no substitutes: perldoc.perl.org/perlre

#PCRE2 #PerlIncompatibleRegularExpressions #RegularExpression #RegExes #RegExps #regex #regexp

Neustradamus :xmpp: :linux:neustradamus
2024-02-22
Nils Goroll 🕊️:varnishcache:slink@fosstodon.org
2023-08-01

.foreach() for regular expression matches has come to #opensource Varnish HTTP Cache.

Our #pcre2 #regex module gitlab.com/uplex/varnish/libvm for #varnishcache now also supports iterating over matches on strings and HTTP bodies

2023-06-08

@ovid #git has Perl “Compatible” #RegularExpressions.

This page tells you where they differ with actual #Perl regular expressions: pcre.org/current/doc/html/pcre

Most notably, #PCRE2 only has a subset of #Unicode support: pcre.org/current/doc/html/pcre

Nils Goroll 🕊️:varnishcache:slink@fosstodon.org
2023-06-05

regsub() on bodies has finally arrived for #opensource Varnish HTTP Cache.

Our #pcre2 #regex module gitlab.com/uplex/varnish/libvm for #varnishcache now also supports substitutions on bodies. Similar to the recently announced .match_body() method, this feature supports matches across storage segments while avoiding to make copies using PCRE2's partial match feature.

Another big thank you to Philip Hazel and Zoltan Herczeg for their great work on the essential regular expression library.

Nils Goroll 🕊️:varnishcache:slink@fosstodon.org
2023-05-28

A bugfix gives me an excuse to mention that, for some time now, vmod_re gitlab.com/uplex/varnish/libvm - our #pcre2 #regex module for #varnishcache - also supports matches against bodies.
The implementation supports matches across storage segments while avoiding to make copies using PCRE2's partial match feature.
A big think you to Philip Hazel and Zoltan Herczeg for their great work on the essential regular expression library. @slimhazard

2022-12-01

@RL_Dane @benjaminhollon @marcxjo #PCRE was “inspired by” #Perl #RegularExpressions. It was developed as a replacement for the original Spencer #regexp library used by the #Exim mail transfer agent. Although there has been some cross-pollination of features, they’re independent projects with different goals.

#PCRE2 documents some of its differences with Perl here: pcre.org/current/doc/html/pcre

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst