mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.
This commit is contained in:
parent
3a0351cf85
commit
3179fe03ca
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ package. Note that the latest X/Emacs releases contain this package.")
|
|||
"^[ \t]*" ; newline and maybe whitespace
|
||||
"\\(class[ \t]+[a-zA-Z0-9_]+\\)" ; class name
|
||||
; possibly multiple superclasses
|
||||
"\\([ \t]*\\((\\([a-zA-Z0-9_, \t\n]\\)*)\\)?\\)"
|
||||
"\\([ \t]*\\((\\([a-zA-Z0-9_,. \t\n]\\)*)\\)?\\)"
|
||||
"[ \t]*:" ; and the final :
|
||||
"\\)" ; >>classes<<
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue