From ca82b126aa72d7a8f4de1911aa6477f301691793 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 11 Sep 2023 12:30:20 +0300 Subject: [Svg-height-attrib] Replaced indirect regex with normal regex for match function call --- awk-edits/Svg-height-attrib.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awk-edits/Svg-height-attrib.awk b/awk-edits/Svg-height-attrib.awk index d409159..fe3027a 100644 --- a/awk-edits/Svg-height-attrib.awk +++ b/awk-edits/Svg-height-attrib.awk @@ -6,7 +6,7 @@ /src="[^"]*\.svg"/ { result = "" - while(match($0, @/src="[^"]*\.svg"/)) { + while(match($0, /src="[^"]*\.svg"/)) { result = result substr($0, 1, RSTART + RLENGTH - 1) " height=18"; $0 = substr($0, RSTART + RLENGTH); } -- cgit v1.3.1-26-gb76a