Function: js--re-search-backward

js--re-search-backward is a byte-compiled function defined in js.el.gz.

Signature

(js--re-search-backward REGEXP &optional BOUND NOERROR COUNT)

Documentation

Search backward, ignoring strings, preprocessor macros, and comments.

This function invokes re-search-backward but treats the buffer as if strings, preprocessor macros, and comments have been removed.

If invoked while inside a macro, treat the macro as normal text.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
(defun js--re-search-backward (regexp &optional bound noerror count)
  "Search backward, ignoring strings, preprocessor macros, and comments.

This function invokes `re-search-backward' but treats the buffer
as if strings, preprocessor macros, and comments have been
removed.

If invoked while inside a macro, treat the macro as normal text."
  (js--re-search-forward regexp bound noerror (if count (- count) -1)))