On Tue, Apr 6, 2021 at 5:41 PM Justin Lloyd <just...@arena.net> wrote: > > Forget I asked, that was a dumb question since it's a regex and | can be > used. /sigh
Yes, "|" is an option. <snip> > Hi Dridi, > > Thanks for confirming that! However, is there then a way to get the effect of > being able to pass a regex to keep_re() and filter_re()? I just started > working with the cookie vmod this morning and this would be a useful feature. > As I understand it, Varnish 6.4 (we're on 6.5) replaced filter() and > filter_except() with keep() and keep_re() and that the previous functions > could take CSV strings. I think there is a misunderstanding here. We renamed filter_except() to keep() because it had better semantics, much easier to understand. The filter_re() and keep_re() functions are regular expression variants for basically the same operations: filtering some cookies out, or keeping a subset of the cookies. Cheers, Dridi _______________________________________________ varnish-misc mailing list varnish-misc@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc