]> granicus.if.org Git - python/commitdiff
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
authorBarry Warsaw <barry@python.org>
Sat, 4 Apr 1998 21:36:53 +0000 (21:36 +0000)
committerBarry Warsaw <barry@python.org>
Sat, 4 Apr 1998 21:36:53 +0000 (21:36 +0000)
inheritance list.

Misc/python-mode.el

index 9aa64750bb82b5c60076811ac52210e8b52ec716..a18300020050d0abefda5fe93db558bfc273209a 100644 (file)
@@ -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<<
    )