Steve Shockley wrote: > On 4/22/2010 1:02 AM, sonjaya wrote: > > i have problem installed maia in openbsd 4.6 , problem module perl > > file(1). > > http://marc.info/?m=126887732124225 > > Please test and let me know how it goes. I fixed this by just > removing the check. Now that I'm actually looking at it more, I > think maybe that regex ("\-([0-9\.]+)") is looking for X.Y rather > than X.YY, but I'm terrible with regex so I could be mistaken.
Actually it matches any string containing a minus followed by 1 or more digits or dots, e.g. "file-4.24" but also "file-.". I'd use "-(\d+\.)+\d+". Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn

