mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 22:04:30 +01:00
Update RegEx text replacement 1.yml
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: RegEx text replacement (https://github.com/marketplace/actions/find-and-replace)
|
||||
name: RegEx text replacement
|
||||
on: [push, pull_request, discussion_comment, issue_comment, fork]
|
||||
jobs:
|
||||
build:
|
||||
@@ -10,7 +10,7 @@ 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æÆøØåÅñ_.;,|/{}* !"'-]|\'|"|\\)"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user