use search-forward-regexp instead of string-match