mirror of https://github.com/d3cim/block.git
[UPSTREAM] - Fix the rx_timed regex
This commit is contained in:
parent
cda22bd1a2
commit
f157401824
|
@ -21,7 +21,7 @@ def parse_time_restricted_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 = {}
|
||||
|
|
Loading…
Reference in New Issue