std.conv: parse not handling some cases
Merge pull request #2185 from WalterBright/fix-parse

std.conv: parse not handling some cases