in reply to Anything that is not ',' except .... RegEx question

I declare this to be an XY Problem.

My guess would be that you have some CSV data where the data itself contains commas, and you are tying yourself in knots trying to parse it with a regex.

If that is the case, then I would point you to something like Text::CSV

- Darren

  • Comment on Re: Anything that is not ',' except .... RegEx question

Replies are listed 'Best First'.
Re^2: Anything that is not ',' except .... RegEx question
by svenXY (Deacon) on Feb 27, 2008 at 13:06 UTC
    Hi,
    if it is really some cvs stuff, I'd also throw DBD::CSV in - it allows for working with csv files by using SQL statements. Quite cool IMHO.
    Regards,
    svenXY