diff options
author | Dan Leslie <dan@ironoxide.ca> | 2015-08-14 08:27:05 -0700 |
---|---|---|
committer | Dan Leslie <dan@ironoxide.ca> | 2015-08-14 08:27:05 -0700 |
commit | 8ebeaeefbc7850dc19f651a7f5864c207de2ec52 (patch) | |
tree | 1711f656f9dcf19ca9bfaf7c58bce49a7b7f112e | |
parent | f1f84c8e9eaf238fc9a23f1a3760b8402e28f14e (diff) | |
download | geiser-8ebeaeefbc7850dc19f651a7f5864c207de2ec52.tar.gz geiser-8ebeaeefbc7850dc19f651a7f5864c207de2ec52.tar.bz2 |
Modifies geiser--cut-version regex
Minor and Patch versions are now optional.
-rw-r--r-- | elisp/geiser-base.el | 2 |
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) |