Function pattern_history_match:
Defined in module history (file: /obj/secure/shell/history.c)

returns the most recently added history item that matches
the regexp.  An implicit ^ is added to the beginning of the regexp.

Prototype:
pattern_history_match(string rgx);
