Fix Function list Python parser bad function name detection

Fix #3706, close #3790
This commit is contained in:
Nippur de Lagash 2017-10-01 12:10:50 +02:00 committed by Don HO
parent 95a924f4f3
commit 303874fee0

View File

@ -678,7 +678,7 @@
mainExpr ="(?<=^class\x20).*?(?=\n\S|\Z)"
>
<className>
<nameExpr expr="\w+(?=[\(|:])" />
<nameExpr expr="\w+(?=\s*[\(|:])" />
</className>
<function
mainExpr="(?&lt;=def\x20).+?(?=:)"