(py-forward-into-nomenclature): small fix to not infinitely loop at
underscores.
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index a86e4c7..4cb40a6 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -1425,7 +1425,7 @@
(interactive "p")
(let ((case-fold-search nil))
(if (> arg 0)
- (re-search-forward "\\W*\\([A-Z]*[a-z0-9]*\\)" (point-max) t arg)
+ (re-search-forward "\\W*\\([A-Z_]*[a-z0-9]*\\)" (point-max) t arg)
(while (and (< arg 0)
(re-search-backward
"\\(\\(\\W\\|[a-z0-9]\\)[A-Z]+\\|\\W\\w+\\)"