diff --git a/.github/workflows/RegEx text replacement 1.yml b/.github/workflows/RegEx text replacement 1.yml index 8c0205a0f..0f549b27a 100644 --- a/.github/workflows/RegEx text replacement 1.yml +++ b/.github/workflows/RegEx text replacement 1.yml @@ -10,8 +10,9 @@ 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" + regex: true - name: Push changes uses: stefanzweifel/git-auto-commit-action@v4