Function: semantic-symref-grep--quote-grep
semantic-symref-grep--quote-grep is a byte-compiled function defined
in grep.el.gz.
Signature
(semantic-symref-grep--quote-grep STRING)
Documentation
Quote STRING as a grep-syntax regexp.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/symref/grep.el.gz
(defun semantic-symref-grep--quote-grep (string)
"Quote STRING as a grep-syntax regexp."
(replace-regexp-in-string (rx (in ".^$*[\\"))
(lambda (s) (concat "\\" s))
string nil t))