Define string-match-p for Emacs 22.1 compatibility