From c19ac6d0f37eae19b958a85c3da96cbec26d11ed Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Wed, 24 Jan 2024 08:16:12 +0100 Subject: [PATCH] Update RegEx conversions.md Just to be fully sure to avoid false positives. --- Wiki/RegEx conversions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wiki/RegEx conversions.md b/Wiki/RegEx conversions.md index 43587611d..4aa6fe53a 100644 --- a/Wiki/RegEx conversions.md +++ b/Wiki/RegEx conversions.md @@ -25,7 +25,7 @@ According to Sublime Text build 4143. Case-sensitive. * `(:has-text\(/[/\\a-zA-Z0-9{}()?|.*#]{1,}) (.*/i?\))` → `\1\\s\2` #### Similar obfuscation to replace spaces with "\s". (Can be case-insensitive) -* `[ -]` → `(\s|-)` +* `(:\(.*)[ -]` → `\1(\s|-)` * `(:has-text\(/([a-zæøåäöA-Z0-9е{}()|^$.,*'&’#@éèáàóòíìúùü-]|\\|\?){0,}) (([a-zæøåäöA-Z0-9е{}()|^$.,*'&’#@éèáàóòíìúùü -]|\\|\?){0,}/i?\))` → `\1\\s\3` ## Convert `#?#*:has(` to `##*:has(` due to new browser (and ABP) guidelines