mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-20 03:36:33 +00:00
Add files via upload
This commit is contained in:
1 parent
5fdfbf8c37
commit
0a7e7e1d1c
2 files changed
+1082
-1466
No files matched your search
@@ -612,6 +612,18 @@ def prepare_agh(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\^,~",
|
||||
r"^$~",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\.,badfilter$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_agh(line) and not line == '':
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -1487,7 +1499,19 @@ def prepare_agh(lines) -> str:
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^/.*[_?=/;~@%#+].*",
|
||||
r"^/.*[_?=/;~@%#+,].*",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\^,~",
|
||||
r"^$~",
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\.,badfilter$",
|
||||
r"",
|
||||
line
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user