Function: hfy-word-regex
hfy-word-regex is a byte-compiled function defined in
htmlfontify.el.gz.
Signature
(hfy-word-regex STRING)
Documentation
Return a regex that matches STRING as the first match-string, with non
word characters on either side.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-word-regex (string)
"Return a regex that matches STRING as the first `match-string', with non
word characters on either side."
;; FIXME: Should this use [^$[:alnum:]_] instead? --Stef
(concat "[^$A-Za-z_0-9]\\(" (regexp-quote string) "\\)[^A-Za-z_0-9]"))