mib added inline comments.

================
Comment at: lldb/examples/python/crashlog.py:628
                                  )
+    exception_type_regex = re.compile(r'^Exception Type:\s+(EXC_.*) 
\s*\((.*)\)')
+    exception_codes_regex = re.compile(r'^Exception 
Codes:\s+(0x[0-9a-fA-F]+),\s*(0x[0-9a-fA-F]+)')
----------------
kastiglione wrote:
> consider using `EXC_[A-Z_]+` or `EXC_.*?` to not over match.
> 
> ` \s*` (a space followed by `\s*`) could be replaced with `\s+`
Yeah, that's better! Also, I suspect the second group to be optional, so I need 
to change this regex anyway


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

https://reviews.llvm.org/D131719

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to