This fixes a "bug" in setup-gettext, where it makes a somewhat bold
assumption about the capabilities of sed. Some systems have particularly
primitives seds which cannot handle + or \+ or any variation thereof;
I have changed [0-9]\+ to [0-9][0-9]* for the benefit of these somewhat
anemic systems. Like OSX. I also changed some long and painful regular
expressions into simple cut commands, but that really wasn't as much a
bug fix as a canonicalization.
Christian, you may or may not want to fold some of this into setup-gettext
wherever it lives.