mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 12:11:07 +01:00
Add files via upload
This commit is contained in:
@@ -4027,6 +4027,12 @@ def prepare_abp(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\.,",
|
||||
r".$",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_abp(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
@@ -4880,6 +4886,12 @@ def prepare_agh(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"\.~([a-z0-9.-]{5,})",
|
||||
r".\n@@||\1^",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_agh(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user