1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2025-01-19 03:00:29 +01:00

generate-domains-blocklist: fix the rx_timed regex

Fixes #1896
This commit is contained in:
Frank Denis 2021-09-25 03:10:00 +02:00
parent 8e913d8bf9
commit 69019b7a80

View File

@ -28,7 +28,7 @@ def parse_trusted_list(content):
rx_comment = re.compile(r"^(#|$)")
rx_inline_comment = re.compile(r"\s*#\s*[a-z0-9-].*$")
rx_trusted = re.compile(r"^([*a-z0-9.-]+)\s*(@\S+)?$")
rx_timed = re.compile(r".+\s*(@\S+)?$")
rx_timed = re.compile(r".+\s*@\S+$")
names = set()
time_restrictions = {}