Function: search-backward-regexp

search-backward-regexp is a function alias and interactive for re-search-backward, defined in search.c.

Signature

(search-backward-regexp REGEXP &optional BOUND NOERROR COUNT)

Documentation

Search backward from point for regular expression REGEXP.

This function is almost identical to re-search-forward, except that by default it searches backward instead of forward, and the sign of COUNT also indicates exactly the opposite searching direction. See re-search-forward for details.

Note that searching backwards may give a shorter match than expected, because REGEXP is still matched in the forward direction. See Info anchor (elisp) re-search-backward for details.

Key Bindings

Aliases

search-backward-regexp