pat = ''.join(('(?P<full_path>.+)', ':\\d+:\\s+warning:\\s+Member\\s+',
    '(?P<member_name>.+)', '\\s+\\(', '(?P<member_type>%s)' % self.
    __MEMBER_TYPES, '\\) of ', '(class|group|namespace)', '\\s+',
    '(?P<class_name>.+)', '\\s+is not documented'))
How to split long regular expression rules to multiple lines in Python