-;;; Copyright (C) 2010, 2011 Rocky Bernstein <rocky@gnu.org>
-;;; pydbgr: Python 2.5 and beyond
+;;; Copyright (C) 2010, 2011, 2012 Rocky Bernstein <rocky@gnu.org>
+;;; pydbgr: Python 2.5 but less than 3K
(eval-when-compile (require 'cl))
;; Regular expression that describes a pydbgr location generally shown
;; before a command prompt.
;;
-;; Program-location lines look like this:
+;; For example:
;; (/usr/bin/zonetab2pot.py:15): <module>
;; or MS Windows:
;; (c:\\mydirectory\\gcd.py:10): <module>
-;; and in backtrace like this:
-;; (/usr/bin/zonetab2pot.py:15)
(setf (gethash "loc" dbgr-pydbgr-pat-hash)
(make-dbgr-loc-pat
:regexp "^(\\(\\(?:[a-zA-Z]:\\)?[-a-zA-Z0-9_/.\\\\ ]+\\):\\([0-9]+\\))"