Nils Goroll · @slink
44 followers · 393 posts · Server fosstodon.org

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

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

#opensource #pcre2 #regex #varnishcache

Last updated 1 year ago

Mark Gardner ‍:sdf: · @mjgardner
668 followers · 4203 posts · Server social.sdf.org

@ovid has Perl “Compatible” .

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

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

#git #regularxpressions #perl #pcre2 #unicode

Last updated 1 year ago

Nils Goroll · @slink
26 followers · 181 posts · Server fosstodon.org

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

Our module gitlab.com/uplex/varnish/libvm for 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 think you to Philip Hazel and Zoltan Herczeg for their great work on the essential regular expression library.

#opensource #pcre2 #regex #varnishcache

Last updated 1 year ago

Nils Goroll · @slink
24 followers · 160 posts · Server fosstodon.org

A bugfix gives me an excuse to mention that, for some time now, gitlab.com/uplex/varnish/libvm - our module for - 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

#pcre2 #regex #varnishcache

Last updated 1 year ago

Mark Gardner 🧾 · @mjgardner
333 followers · 745 posts · Server mastodon.sdf.org

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

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

@perl5

#PCRE #perl #regularexpressions #regexp #exim #pcre2

Last updated 2 years ago