Function: verilog-string-match-fold

verilog-string-match-fold is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-string-match-fold REGEXP STRING &optional START)

Documentation

Like string-match, but use verilog-case-fold.

Return index of start of first match for REGEXP in STRING, or nil. Matching ignores case if verilog-case-fold is non-nil. If third arg START is non-nil, start search at that index in STRING.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defsubst verilog-string-match-fold (regexp string &optional start)
  "Like `string-match', but use `verilog-case-fold'.
Return index of start of first match for REGEXP in STRING, or nil.
Matching ignores case if `verilog-case-fold' is non-nil.
If third arg START is non-nil, start search at that index in STRING."
  (let ((case-fold-search verilog-case-fold))
    (string-match regexp string start)))