mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -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
|
@ -305,7 +305,7 @@ def dict_merge(base, other):
|
|||
|
||||
|
||||
def conditional(expr, val, cast=None):
|
||||
match = re.match('^(.+)\((.+)\)$', str(expr), re.I)
|
||||
match = re.match(r'^(.+)\((.+)\)$', str(expr), re.I)
|
||||
if match:
|
||||
op, arg = match.groups()
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue