Utilities/ClassBrowsers/idlclbr.py

changeset 4435
9f6555d3c3c0
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4434:8ba11cf46483 4435:9f6555d3c3c0
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

eric ide

mercurial