diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-25 07:04:27 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-10-25 07:04:27 +0200 | 
| commit | d705599e2a0fa99e791af9b349e901b54cb93304 (patch) | |
| tree | 5a4d641ed9cc7b46d00a6f3e295f18da86eb994b /script | |
| parent | 1b8e10061de200ceeda25e1eafd1454cb31241e1 (diff) | |
size.py: Do not try to parse escapes in regex
Diffstat (limited to 'script')
| -rwxr-xr-x | script/size.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/script/size.py b/script/size.py index ad41979..e1f6605 100755 --- a/script/size.py +++ b/script/size.py @@ -24,7 +24,7 @@ def main(size_executable, rom_sections, ram_sections):      section_size = dict()      for line in status.stdout.split("\n"): -        match = re.match("[.](\S+)\s+(\d+)", line) +        match = re.match(r"[.](\S+)\s+(\d+)", line)          if match:              section = match.group(1)              size = int(match.group(2)) | 
