http://bugs.winehq.org/show_bug.cgi?id=18073
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2009-05-12 11:43:56 --- Created an attachment (id=21056) --> (http://bugs.winehq.org/attachment.cgi?id=21056) patch for sequences of nines
This patch fixes most of your problems. I've already sent it to wine-patches.
The trailing zeroes, I'll try to get to later.