highlight-phrase

highlight-phrase is an alias for `hi-lock-face-phrase-buffer' in `hi-lock.el'.

It is bound to M-s h p.

(highlight-phrase REGEXP &optional FACE)

Set face of each match of phrase REGEXP to FACE.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE.

When called interactively, replace whitespace in user-provided
regexp with arbitrary whitespace, and make initial lower-case
letters case-insensitive, before highlighting with `hi-lock-set-pattern'.

Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type.