branch: elpa/magit
commit b0fbec38f9a2401355420b76328ba3112cafef7a
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-release-tag-regexp: Support slash as separator
I now maintain htmlize and that uses needlessly
verbose release tags such as "release/1.58".
---
lisp/magit-tag.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-tag.el b/lisp/magit-tag.el
index a7863622874..94f28028f66 100644
--- a/lisp/magit-tag.el
+++ b/lisp/magit-tag.el
@@ -128,7 +128,7 @@ defaulting to the tag at point.
See also `magit-release-tag-regexp'.")
(defvar magit-release-tag-regexp "\\`\
-\\(?1:\\(?:v\\(?:ersion\\)?\\|r\\(?:elease\\)?\\)[-_]?\\)?\
+\\(?1:\\(?:v\\(?:ersion\\)?\\|r\\(?:elease\\)?\\)[-_/]?\\)?\
\\(?2:[0-9]+\\(?:\\.[0-9]+\\)*\
\\(?:-[a-zA-Z0-9-]+\\(?:\\.[a-zA-Z0-9-]+\\)*\\)?\\)\\'"
"Regexp used by `magit-tag-release' to parse release tags.