mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-01 12:20:02 +00:00
scripts: Some minor regex cleanup
Just trying to make regex in scripts a bit more consistent. Though regex being regex this may be fruitless.
This commit is contained in:
@ -420,12 +420,12 @@ def collect_dwarf_info(obj_path, tags=None, *,
|
||||
objdump_path=OBJDUMP_PATH,
|
||||
**args):
|
||||
info_pattern = re.compile(
|
||||
'^\s*(?:<(?P<level>[^>]*)>'
|
||||
'^\s*<(?P<level>[^>]*)>'
|
||||
'\s*<(?P<off>[^>]*)>'
|
||||
'.*\(\s*(?P<tag>[^)]*?)\s*\)'
|
||||
'|\s*<(?P<off_>[^>]*)>'
|
||||
'.*\(\s*(?P<tag>[^)]*?)\s*\)\s*$'
|
||||
'|' '^\s*<(?P<off_>[^>]*)>'
|
||||
'\s*(?P<at>[^>:]*?)'
|
||||
'\s*:(?P<v>.*))\s*$')
|
||||
'\s*:(?P<v>.*)\s*$')
|
||||
|
||||
# collect dwarf entries
|
||||
info = co.OrderedDict()
|
||||
|
||||
Reference in New Issue
Block a user