in reply to Two Eclectic split()s

I'm not sure exactly what is supposed to be impossible here; have you seen my pure-regex solution?

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Two Eclectic split()s
by japhy (Canon) on May 21, 2003 at 15:48 UTC
    What's hard is using split() to get it done. I can modify it a bit to allow for escaped quotes and single quotes and what-not. The point is, split() is not the ideal way to do this, but I wanted to get it done. I make a habit of stress-testing the worst tool for the job. ;)

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;