fix: syslab-lib regex escape
This commit is contained in:
parent
deeb335eca
commit
1d8fbd49d1
|
|
@ -231,7 +231,7 @@ def parse_resources(url):
|
|||
for resource in resources:
|
||||
try:
|
||||
# TODO - handle java arrays, ie, []
|
||||
m = re.match("(\w+)\[?\]? (\w+)(\([\w ,]*\))?", resource).groups()
|
||||
m = re.match(r"(\w+)\[?\]? (\w+)(\([\w ,]*\))?", resource).groups()
|
||||
except AttributeError as e:
|
||||
print(e)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue