fixed missing raw string decorator
This commit is contained in:
parent
2a7f53c7e9
commit
c6e5b16570
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
numbers = []
|
numbers = []
|
||||||
while True:
|
while True:
|
||||||
match = re.match('^-?[0-9]+(\.[0-9]+)?(e-?[0-9]+)?', data)
|
match = re.match(r'^-?[0-9]+(\.[0-9]+)?(e-?[0-9]+)?', data)
|
||||||
if match is None:
|
if match is None:
|
||||||
break
|
break
|
||||||
numbers.append(float(match.group(0)))
|
numbers.append(float(match.group(0)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue