On 1/11/06, Bill McGonigle <[EMAIL PROTECTED]> wrote:
On Jan 11, 2006, at 08:42, [EMAIL PROTECTED] wrote:
> This poses an interesting problem. The "," is being used for two
> purposes: a delimiter *AND* as a place holder.
Now, for the Lazy, Perl regular expressions are a state machine of
sorts. I suspect you might be able to do the right thing with
greedy/non-greedy matches. Someone who lives and breathes regex might
have a better handle on this. It would take me two hours to get this
one figured out.
Hehe, it'd be one of those really, REALLY ugly Regular expressions that, when you stare at it long enough, looks like ASCII art in order to make it 100%. ;-)
Thomas