[Lldb-commits] [PATCH] D131032: [lldb/crashlog] Update frame regex matcher
Med Ismail Bennani via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 3 11:16:26 PDT 2022
mib 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
----------------
JDevlieghere wrote:
> kastiglione wrote:
> > Can it be simplified to using `{7,}`, for "7 or more"?
> >
> > Ex: `r'(0x[0-9a-fA-F]{7,}`
> I like this idea (and learned something new)
+1, thanks @kastiglione !
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