[Bug 13908] New: crashlog.py has wrong pattern for crash reports taken from email/jabber by copy&paste

http://llvm.org/bugs/show_bug.cgi?id=13908

             Bug #: 13908
           Summary: crashlog.py has wrong pattern for crash reports taken
                    from email/jabber by copy&paste
           Product: lldb
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: aefimov-box@ya.ru
    Classification: Unclassified

The problem is in frame_regex patter. It requires to '\t' symbol, but it can be
replaced by space during copy&paste.

--- a/crashlog.py
+++ b/crashlog.py
@@ -54,7 +54,7 @@ class CrashLog(symbolication.Symbolicator):
     """Class that does parses darwin crash logs"""
     thread_state_regex = re.compile('^Thread ([0-9]+) crashed with')
     thread_regex = re.compile('^Thread ([0-9]+)([^:]*):(.*)')
- frame_regex = re.compile('^([0-9]+) +([^ ]+) *\t(0x[0-9a-fA-F]+) +(.*)')
+ frame_regex = re.compile('^([0-9]+) +([^ ]+) *\t?(0x[0-9a-fA-F]+) +(.*)')
     image_regex_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+)
+[+]?([^ ]+) +([^<]+)<([-0-9a-fA-F]+)> (.*)');
     image_regex_no_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+)
+[+]?([^ ]+) +([^/]+)/(.*)');
     empty_line_regex = re.compile('^$')