1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-23 04:11:54 +01:00

devlib.utils: Fix escape sequences

Fix invalid escape sequence, mostly in regex that were not r-strings.
This commit is contained in:
douglas-raillard-arm
2020-11-16 15:50:48 +00:00
committed by Marc Bonnici
parent 81db8200e2
commit d300b9e57f
4 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ import logging
from devlib.utils.types import numeric
GEM5STATS_FIELD_REGEX = re.compile("^(?P<key>[^- ]\S*) +(?P<value>[^#]+).+$")
GEM5STATS_FIELD_REGEX = re.compile(r"^(?P<key>[^- ]\S*) +(?P<value>[^#]+).+$")
GEM5STATS_DUMP_HEAD = '---------- Begin Simulation Statistics ----------'
GEM5STATS_DUMP_TAIL = '---------- End Simulation Statistics ----------'
GEM5STATS_ROI_NUMBER = 8