From 63ac1d6d6bc1739402f253da1da449b77f8f51bf Mon Sep 17 00:00:00 2001 From: Imre Eilertsen Date: Wed, 12 Jun 2024 15:59:47 +0200 Subject: [PATCH] No way on earth would this be the correct syntax. --- .github/workflows/RegEx text replacement 1.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/RegEx text replacement 1.yml b/.github/workflows/RegEx text replacement 1.yml index 9f31cde9e..0583a8144 100644 --- a/.github/workflows/RegEx text replacement 1.yml +++ b/.github/workflows/RegEx text replacement 1.yml @@ -10,8 +10,8 @@ jobs: - name: Find and Replace uses: jacobtomlinson/gha-find-replace@v3 with: - find: "(:has-text\(/([a-zA-Z0-9øØåÅñ_.;,|/{}* !?"'-]|\\){0,}([a-rt-zA-RæÆøØåÅT-Z0-9]))\3([a-zA-Z0-9æÆøØåÅñ_.;,|/{}* !"'-]|\\)" - replace: "\1{2}\4" + find: (:has-text\(/([a-zA-Z0-9øØåÅñ_.;,|/{}* !?"'-]|\\){0,}([a-rt-zA-RæÆøØåÅT-Z0-9]))\3([a-zA-Z0-9æÆøØåÅñ_.;,|/{}* !"'-]|\\) + replace: \1{2}\4 include: "**/a.txt" - name: Push changes - title: '[Bot] RegEx optimising'