82 [ \t]* { |
82 [ \t]* { |
83 ) |
83 ) |
84 |
84 |
85 | (?P<End> |
85 | (?P<End> |
86 [ \t]* } [ \t]* ; |
86 [ \t]* } [ \t]* ; |
87 ) |
87 )""", |
88 """, re.VERBOSE | re.DOTALL | re.MULTILINE).search # __IGNORE_WARNING__ |
88 re.VERBOSE | re.DOTALL | re.MULTILINE).search |
89 |
89 |
90 # function to replace comments |
90 # function to replace comments |
91 _commentsub = re.compile(r"""//[^\n]*\n|//[^\n]*$""").sub |
91 _commentsub = re.compile(r"""//[^\n]*\n|//[^\n]*$""").sub |
92 # function to normalize whitespace |
92 # function to normalize whitespace |
93 _normalize = re.compile(r"""[ \t]{2,}""").sub |
93 _normalize = re.compile(r"""[ \t]{2,}""").sub |