removing legacy RTL regex

- potentially resolves issue #673
This commit is contained in:
amd64fox
2025-01-22 21:27:30 +03:00
parent d90a4f9abe
commit bc3079dcee
2 changed files with 6 additions and 34 deletions

View File

@@ -1762,45 +1762,17 @@
""
]
},
"removertl-cssmin": {
"cssmin": {
"version": {
"fr": "1.1.70",
"to": ""
},
"match": [
"}\\[dir=ltr\\]\\s?([.a-zA-Z\\d[_]+?,\\[dir=ltr\\])",
"}\\[dir=ltr\\]\\s?",
"html\\[dir=ltr\\]",
",\\s?\\[dir=rtl\\].+?(\\{.+?\\})",
"[\\w\\-\\.]+\\[dir=rtl\\].+?\\{.+?\\}",
"\\}\\[lang=ar\\].+?\\{.+?\\}",
"\\}\\[dir=rtl\\].+?\\{.+?\\}",
"\\}html\\[dir=rtl\\].+?\\{.+?\\}",
"\\}html\\[lang=ar\\].+?\\{.+?\\}",
"\\[lang=ar\\].+?\\{.+?\\}",
"html\\[dir=rtl\\].+?\\{.+?\\}",
"html\\[lang=ar\\].+?\\{.+?\\}",
"\\[dir=rtl\\].+?\\{.+?\\}",
"\\[dir=str\\]",
"[/]\\*([^*]|[\r\n]|(\\*([^/]|[\r\n])))*\\*[/]",
"[/][/]#\\s.*",
"\r?\n(?!\\(1|\\d)"
],
"replace": [
"}[dir=str] $1",
"} ",
"html",
"$1",
"",
"}",
"}",
"}",
"}",
"",
"",
"",
"",
"[dir=ltr]",
"",
"",
""