FIX str.match uses na flag
Merge pull request #6611 from hayd/str_match_nan

FIX str.match uses na flag