Function: isearch-forward-regexp
isearch-forward-regexp is an interactive and byte-compiled function
defined in isearch.el.gz.
Signature
(isearch-forward-regexp &optional NOT-REGEXP NO-RECURSIVE-EDIT)
Documentation
Do incremental search forward for regular expression.
With a prefix argument, do a regular string search instead.
Like ordinary incremental search except that your input is treated
as a regexp. See the command isearch-forward(var)/isearch-forward(fun) for more information.
In incremental searches, a space or spaces normally matches any
whitespace defined by the variable search-whitespace-regexp.
To search for a literal space and nothing else, enter \C-q SPC.
To toggle whitespace matching, use isearch-toggle-lax-whitespace,
usually bound to \M-s SPC during isearch.
This command does not support character folding.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-forward-regexp (&optional not-regexp no-recursive-edit)
"Do incremental search forward for regular expression.
With a prefix argument, do a regular string search instead.
Like ordinary incremental search except that your input is treated
as a regexp. See the command `isearch-forward' for more information.
In incremental searches, a space or spaces normally matches any
whitespace defined by the variable `search-whitespace-regexp'.
To search for a literal space and nothing else, enter \\`C-q SPC'.
To toggle whitespace matching, use `isearch-toggle-lax-whitespace',
usually bound to \\`M-s SPC' during isearch.
This command does not support character folding."
(interactive "P\np")
(isearch-mode t (null not-regexp) nil (not no-recursive-edit)))