Update RegEx conversions.md

This commit is contained in:
Imre Kristoffer Eilertsen
2024-01-16 06:50:23 +01:00
committed by GitHub
parent 3a7c0d7cac
commit 2eefb43a4a
+5
View File
@@ -23,3 +23,8 @@ According to Sublime Text build 4143. Case-sensitive.
* `(\(/.*[a-zA-Z0-9 ?}-])([ijmoyEFIJMOTY])([a-zA-Z0-9 |/\\-].*:not)` → `\1\\\2\3`
* `(\(/.*[a-zA-Z0-9 ?}-])([ijmyEFIJMOTY])([a-zA-Z0-9 |{}/\\-].*/i?\))` → `\1\\\2\3`
* `(:has-text\(/[/\\a-zA-Z0-9{}()?|.*#]{1,}) (.*/i?\))` → `\1\\s\2`
## Convert `#?#*:has(` to `##*:has(` due to new browser (and ABP) guidelines
`^([a-z0-9*,.-]{0,})#\?#((([a-zA-Z0-9.#_*="_+>~/\^ -]|\[|\]|:"){0,}):has\(([_=."+#a-zA-Z0-9~>%&/$',;?^!*一-龯ぁ-んァ-ン・ーㄱ-힣æøåÆØÅäöÄÖ -]|\[|\]){1,}\))$`
↓
`\1##\2`