From: Barry Warsaw Date: Sat, 4 Apr 1998 21:36:53 +0000 (+0000) Subject: (imenu-example--python-class-regexp): Fix to recognize Module.Class in X-Git-Tag: v1.5.1~176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3179fe03cabac46fedf95bd4cc41a150719afad7;p=thirdparty%2FPython%2Fcpython.git (imenu-example--python-class-regexp): Fix to recognize Module.Class in inheritance list. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 9aa64750bb82..a18300020050 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -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<< )