Function: widget-regexp-match

widget-regexp-match is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-regexp-match WIDGET VALUE)

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-regexp-match (_widget value)
  ;; Match valid regexps.
  (and (stringp value)
       (condition-case nil
	   (prog1 t
	     (string-match value ""))
	 (error nil))))