From 3179fe03cabac46fedf95bd4cc41a150719afad7 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 4 Apr 1998 21:36:53 +0000 Subject: [PATCH] (imenu-example--python-class-regexp): Fix to recognize Module.Class in inheritance list. --- Misc/python-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 9aa64750bb8..a1830002005 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<< )