From: Harry Kakueki Date: 2007-11-19T16:42:26+09:00 Subject: Re: False positives in editing data > > Problem solved! > > I went through a convoluted process to determine whether any of the > initial numbers began with a zero. I simplified it to: > > i_thNumberHasLeadingZero = (n[i] =~ /^0+/) ? true : false > > I apologize for raising the question. My excuse is that I was > flailing about unable to figure out what was wrong. After I posted, > I took a harder look and realized my big mistake: I needed to use the > KISS method :-) > > Best wishes, > Richard > > If you solved your problem then you won't need this. But, just in case you are interested in looking at it from a little different view.... It is not a complete solution, just an idea. inp = <