`m.groups()[0]` might return ''. Only None should be turned into NaN. I'll fix this when I get back.