mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-11-20 03:06:33 +00:00
Add files via upload
This commit is contained in:
1 parent
86a1ad8f08
commit
d3c81f6832
1 file changed
+6
@@ -4470,6 +4470,12 @@ def prepare_abp(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"([a-z])##([#.]?[a-z_].*:-abp-)",
|
||||
r"\1#?#\2",
|
||||
line
|
||||
)
|
||||
|
||||
if is_supported_abp(line):
|
||||
text += line + '\r\n'
|
||||
|
||||
|
||||
Reference in new issue
Block a user