Function: woman-match-name

woman-match-name is a byte-compiled function defined in woman.el.gz.

Signature

(woman-match-name)

Documentation

Match and move over name of form: x, (xx or [xxx...].

Applies to number registers, fonts, strings/macros/diversions, and special characters.

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
;;; Process strings:

(defun woman-match-name ()
  "Match and move over name of form: x, (xx or [xxx...].
Applies to number registers, fonts, strings/macros/diversions, and
special characters."
  (cond ((= (following-char) ?\[ )
	 (forward-char)
	 (re-search-forward "[^]]+")
	 (forward-char))		; skip closing ]
	((= (following-char) ?\( )
	 (forward-char)
	 (re-search-forward ".."))
	(t (re-search-forward "."))))