From 9a3f5b8b9cf8f9fecb65ac964e8eafed2be6af80 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Wed, 24 Jan 2024 08:36:39 +0100 Subject: [PATCH] Update RegEx conversions.md --- Wiki/RegEx conversions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wiki/RegEx conversions.md b/Wiki/RegEx conversions.md index 64fc1a56e..996ffe471 100644 --- a/Wiki/RegEx conversions.md +++ b/Wiki/RegEx conversions.md @@ -25,8 +25,8 @@ 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) -* `((\(.*)\[ -\]|(\(.*)\[- \])` → `\2(\s|-)` -* `(\(.*)\[ _-\]` → `\1(\s|_|-)` +* `((\(.*)\[ -\]|(\(.*)\[- \])` → `\2(\\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