assert_match: use Regexp#=~ instead of String#=~

Match operation should be Regexp instead of String. So we use Regexp#=~.