summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorDan Leslie <dan@ironoxide.ca>2015-08-14 08:27:05 -0700
committerDan Leslie <dan@ironoxide.ca>2015-08-14 08:27:05 -0700
commit8ebeaeefbc7850dc19f651a7f5864c207de2ec52 (patch)
tree1711f656f9dcf19ca9bfaf7c58bce49a7b7f112e /elisp
parentf1f84c8e9eaf238fc9a23f1a3760b8402e28f14e (diff)
downloadgeiser-8ebeaeefbc7850dc19f651a7f5864c207de2ec52.tar.gz
geiser-8ebeaeefbc7850dc19f651a7f5864c207de2ec52.tar.bz2
Modifies geiser--cut-version regex
Minor and Patch versions are now optional.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-base.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el
index 3e248ac..4d303db 100644
--- a/elisp/geiser-base.el
+++ b/elisp/geiser-base.el
@@ -74,7 +74,7 @@
(and thing (make-symbol thing))))
(defun geiser--cut-version (v)
- (when (string-match "\\([0-9]+\\(?:\\.[0-9]+\\.[0-9]+\\)?\\).*" v)
+ (when (string-match "\\([0-9]+\\(?:\\.[0-9]+\\)*\\).*" v)
(match-string 1 v)))
(defun geiser--version< (v1 v2)