mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix anomalous backslashes and enable pylint test.
This commit is contained in:
@@ -451,7 +451,7 @@ class ApiParameters(Parameters):
|
||||
|
||||
@address.setter
|
||||
def address(self, value):
|
||||
pattern = '^(?P<ip>[0-9A-Fa-f:.]+)%?(?P<rd>\d+)?\/(?P<nm>\d+)$'
|
||||
pattern = r'^(?P<ip>[0-9A-Fa-f:.]+)%?(?P<rd>\d+)?\/(?P<nm>\d+)$'
|
||||
matches = re.match(pattern, value)
|
||||
if not matches:
|
||||
raise F5ModuleError(
|
||||
|
||||
Reference in New Issue
Block a user