Function: erc-match-current-nick-p
erc-match-current-nick-p is a byte-compiled function defined in
erc-match.el.gz.
Signature
(erc-match-current-nick-p NICKUSERHOST MSG)
Documentation
Check whether the current nickname is in MSG.
NICKUSERHOST will be ignored.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-match-current-nick-p (_nickuserhost msg)
"Check whether the current nickname is in MSG.
NICKUSERHOST will be ignored."
(with-syntax-table erc-match-syntax-table
(and msg
(string-match (concat "\\b"
(regexp-quote (erc-current-nick))
"\\b")
msg))))