From: Fabian Keil Date: Sat, 20 Feb 2021 04:30:08 +0000 (+0100) Subject: Make the second pcrs job of the img-reorder filter greedy again X-Git-Tag: v_3_0_32~46 X-Git-Url: http://www.privoxy.org/gitweb/contact.html?a=commitdiff_plain;h=3ddc05ad1532ae5f5480098ab5595db8a3045694;p=privoxy.git Make the second pcrs job of the img-reorder filter greedy again The ungreedy version caused breakage like: - + on http://bulk.fefe.de/scalability/. --- diff --git a/default.filter b/default.filter index 72c7dcde..e19f6cf6 100644 --- a/default.filter +++ b/default.filter @@ -218,7 +218,7 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi # and banners-by-link to preserve the original image URL in the title attribute. s|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|siUg s|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|