Update RegEx conversions.md

This commit is contained in:
Imre Kristoffer Eilertsen authored and GitHub committed 2024-01-16 07:00:28 +01:00
1 parent febb3a8f7d
commit b8d9dd01e0
1 file changed
+1 -1
+1 -1
View File
@@ -25,6 +25,6 @@ According to Sublime Text build 4143. Case-sensitive.
* `(: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,}\))$`
`^([a-z0-9*,.-]{0,})#\?#((([a-zA-Z0-9.#_*="_+>~/\^ -]|\[|\]|:"){0,}):has\(([_=."+#a-zA-Z0-9~>%&/$',;?^!*一-龯ぁ-んァ-ン・ーㄱ-힣æøåÆØÅäöÄÖ() -]|\[|\]){1,}\))$`
↓
`\1##\2`