mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 22:04:55 +02:00
Fix Function list Python parser bad function name detection
Fix #3706, close #3790
This commit is contained in:
parent
95a924f4f3
commit
303874fee0
@ -678,7 +678,7 @@
|
||||
mainExpr ="(?<=^class\x20).*?(?=\n\S|\Z)"
|
||||
>
|
||||
<className>
|
||||
<nameExpr expr="\w+(?=[\(|:])" />
|
||||
<nameExpr expr="\w+(?=\s*[\(|:])" />
|
||||
</className>
|
||||
<function
|
||||
mainExpr="(?<=def\x20).+?(?=:)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user