summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsg <>2007-05-14 23:03:48 +0000
committerpsg <>2007-05-14 23:03:48 +0000
commitdcc3cdd12397090f58a060f11a0efd859b08a978 (patch)
tree03ef5fba175a05b89c8c6ab628a90805c4fd4c0c
parent957cfb479122a3b27903d5665d5be35727910478 (diff)
Tigher regeexp for finalisation string
-rw-r--r--debian-changelog-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian-changelog-mode.el b/debian-changelog-mode.el
index 2e1f7d1..ae3b2b9 100644
--- a/debian-changelog-mode.el
+++ b/debian-changelog-mode.el
@@ -316,6 +316,7 @@
;; V1.84 14May2007 Peter S Galbraith <psg@debian.org>
;; - Use "date -R" instead of deprecated "822-date"
;; (Closes: #423142, #423155, #423828)
+;; - Tighter regexp for finalisation string
;;; Acknowledgements: (These people have contributed)
;; Roland Rosenfeld <roland@debian.org>
@@ -1410,7 +1411,7 @@ match 1 -> package name
;;; The following is not strictly correct. The upstream version may actually
;;; contain a hyphen if a debian version number also exists, making two hyphens
;;; I'm assuming it begins with a digit, which is not enforced
- "^\\(\\S-+\\) +(\\([0-9]:\\)?\\([0-9][0-9a-zA-Z.+:~]*\\)\\(-\\([0-9a-zA-Z.+~]+\\)\\)*)" nil t)
+ "^\\(\\S-+\\) (\\([0-9]:\\)?\\([0-9][0-9a-zA-Z.+:~]*\\)\\(-\\([0-9a-zA-Z.+~]+\\)\\)*)" nil t)
;; ^
;; Note the asterix above, allowing more than one hyphen in the version
;; number, but wrongly assuming that all of it is the Debian version