Function: vc-svn-valid-symbolic-tag-name-p

vc-svn-valid-symbolic-tag-name-p is a byte-compiled function defined in vc-svn.el.gz.

Signature

(vc-svn-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-svn.el.gz
(defun vc-svn-valid-symbolic-tag-name-p (tag)
  "Return non-nil if TAG is a valid symbolic tag name."
  ;; According to the SVN 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))))