Function: vc-cvs-valid-symbolic-tag-name-p
vc-cvs-valid-symbolic-tag-name-p is a byte-compiled function defined
in vc-cvs.el.gz.
Signature
(vc-cvs-valid-symbolic-tag-name-p TAG)
Documentation
Return non-nil if TAG is a valid symbolic tag name.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-cvs.el.gz
(defun vc-cvs-valid-symbolic-tag-name-p (tag)
"Return non-nil if TAG is a valid symbolic tag name."
;; According to the CVS manual, a valid symbolic tag must start with
;; an uppercase or lowercase letter and can contain uppercase and
;; lowercase letters, digits, `-', and `_'.
(and (string-match "^[a-zA-Z]" tag)
(not (string-match "[^a-z0-9A-Z_-]" tag))))