Function: rcirc-user-nick
rcirc-user-nick is a byte-compiled function defined in rcirc.el.gz.
Signature
(rcirc-user-nick USER)
Documentation
Return the nick from USER. Remove any non-nick junk.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-user-nick (user)
"Return the nick from USER. Remove any non-nick junk."
(save-match-data
(if (string-match (concat "^[" rcirc-nick-prefix-chars
"]*\\([^! ]+\\)!?")
(or user ""))
(match-string 1 user)
user)))