The same problem exists in more than just INI files, if u use a number when you should use a name what more can you expect, I mean its not hard to make the section name a a name instead of a number just use ^ $+ <number>. What if there was a section named "0" what would you expect $ini(file,0) to resolve to?