String#=~ puts empty MatchData in $~ when there isn't a match