No way on earth would this be the correct syntax.

This commit is contained in:
Imre Eilertsen
2024-06-12 15:59:47 +02:00
committed by GitHub
parent 5bc8263d4d
commit 63ac1d6d6b
@@ -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'