Update parsing in getimsi script

This updates the regexes and includes seom optimizations.

See: https://github.com/arthurdejong/python-stdnum/issues/1