[Lldb-commits] [PATCH] D131032: [lldb/crashlog] Update frame regex matcher

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 3 09:43:37 PDT 2022


kastiglione added inline comments.


================
Comment at: lldb/examples/python/crashlog.py:604
+                             r'(' +version+ r')?'               # img_version
+                             r'(0x[0-9a-fA-F]{7}[0-9a-fA-F]*)'  # addr
+                             r' +(.*)'                          # offs
----------------
Can it be simplified to using `{7,}`, for "7 or more"?

Ex: `r'(0x[0-9a-fA-F]{7,}`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131032/new/

https://reviews.llvm.org/D131032



More information about the lldb-commits mailing list