Function: js--regexp-opt-symbol

js--regexp-opt-symbol is a byte-compiled function defined in js.el.gz.

Signature

(js--regexp-opt-symbol LIST)

Documentation

Like regexp-opt, but surround the result with \\_< and \\_>.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js--regexp-opt-symbol (list)
  "Like `regexp-opt', but surround the result with `\\\\_<' and `\\\\_>'."
  (concat "\\_<" (regexp-opt list t) "\\_>"))