Fix issues to make some tests pass

 - testParseExtensions
 - testIsNumberMatchNonMatches
 - testIsNumberMatchNsnMatches
 - testIsNumberMatchShortNsnMatches