Function: verilog-signals-matching-regexp
verilog-signals-matching-regexp is a byte-compiled function defined in
verilog-mode.el.gz.
Signature
(verilog-signals-matching-regexp IN-LIST REGEXP)
Documentation
Return all signals in IN-LIST matching the given REGEXP, if non-nil.
Allow regexp inversion if REGEXP begins with ?!.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-signals-matching-regexp (in-list regexp)
"Return all signals in IN-LIST matching the given REGEXP, if non-nil.
Allow regexp inversion if REGEXP begins with ?!."
(if (or (not regexp) (equal regexp ""))
in-list
(if (string-match "^\\?!" regexp)
(verilog-signals-not-matching-regexp in-list (substring regexp 2))
(let ((case-fold-search verilog-case-fold)
out-list)
(while in-list
(if (string-match regexp (verilog-sig-name (car in-list)))
(setq out-list (cons (car in-list) out-list)))
(setq in-list (cdr in-list)))
(nreverse out-list)))))