firewall: service name can contain digits too
This commit is contained in:
parent
dedde71d7a
commit
3c9d7d3da4
@ -146,7 +146,7 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel):
|
||||
self.__services = list()
|
||||
|
||||
self.port_range_pattern = re.compile(r'\d+-\d+')
|
||||
self.service_port_pattern = re.compile(r'(\d*) \([a-zA-Z-]*\)')
|
||||
self.service_port_pattern = re.compile(r'(\d*) \([a-zA-Z0-9-]*\)')
|
||||
|
||||
pattern = re.compile(
|
||||
r"(?P<name>[a-z][a-z0-9-]+)\s+(?P<port>[0-9]+)/"
|
||||
|
Loading…
Reference in New Issue
Block a user