mirror of https://github.com/python/cpython.git
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.
This commit is contained in:
parent
3a0351cf85
commit
3179fe03ca
|
@ -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…
Reference in New Issue