replace =~ with == *...*, update #2361