src/eric7/Utilities/ModuleParser.py

branch
eric7
changeset 10471
28d4780d6a66
parent 10468
fcae57045733
child 10477
11b5d533e4a2
equal deleted inserted replaced
10470:cd7bfd539ac9 10471:28d4780d6a66
189 189
190 | (?P<TypedVariable> 190 | (?P<TypedVariable>
191 ^ 191 ^
192 (?P<TypedVariableIndent> [ \t]* ) 192 (?P<TypedVariableIndent> [ \t]* )
193 (?P<TypedVariableName> \w+ ) 193 (?P<TypedVariableName> \w+ )
194 [ \t]* : [^\r\n]*? = 194 [ \t]* :
195 ) 195 )
196 196
197 | (?P<Main> 197 | (?P<Main>
198 ^ 198 ^
199 if \s+ __name__ \s* == \s* [^:]+ : $ 199 if \s+ __name__ \s* == \s* [^:]+ : $

eric ide

mercurial