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 | bfb4a8fce5828d15641164b475b830031c6d3335 (patch) | |
tree | 69c665156d5d7d13dd0d608f28277728709799ee | |
parent | bfbaaf707f82027e05ea4cfee5d31f2f8eb64690 (diff) | |
download | geiser-guile-bfb4a8fce5828d15641164b475b830031c6d3335.tar.gz geiser-guile-bfb4a8fce5828d15641164b475b830031c6d3335.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) |