96 self.skip_to_next() |
96 self.skip_to_next() |
97 result.description = self.current() |
97 result.description = self.current() |
98 self.skip_to_next() |
98 self.skip_to_next() |
99 result.name = self.parse_pattern(r'^Name: (.+)$', 'name')[0] |
99 result.name = self.parse_pattern(r'^Name: (.+)$', 'name')[0] |
100 self.skip_to_next() |
100 self.skip_to_next() |
101 result.author, result.username = self.parse_pattern(r'^Author: ((?:\s*\w+)+) (?:\[([^\]]+)\])?', 'author') |
101 result.author, result.username = self.parse_pattern(r'^Author: ([^ \[]*[^\[]+) (?:\[([^\]]+)\])?', 'author') |
102 for header_entry in self.get_more_header_stuff(): |
102 for header_entry in self.get_more_header_stuff(): |
103 if self.try_to_match( |
103 if self.try_to_match( |
104 r'^!LDRAW_ORG ' \ |
104 r'^!LDRAW_ORG ' \ |
105 r'((?:Unofficial_)?(?:' \ |
105 r'((?:Unofficial_)?(?:' \ |
106 r'Part|' \ |
106 r'Part|' \ |