mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-10 18:34:03 -07:00
Fix invalid string escape sequences.
This commit is contained in:
parent
f9cd50411f
commit
e45c763b64
48 changed files with 77 additions and 77 deletions
|
@ -121,7 +121,7 @@ class GenericBsdIfconfigNetwork(Network):
|
|||
|
||||
if words[0] == 'pass':
|
||||
continue
|
||||
elif re.match('^\S', line) and len(words) > 3:
|
||||
elif re.match(r'^\S', line) and len(words) > 3:
|
||||
current_if = self.parse_interface_line(words)
|
||||
interfaces[current_if['device']] = current_if
|
||||
elif words[0].startswith('options='):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue