in reply to Re^3: Is there any regex limitation?
in thread Is there any regex limitation?

Actually yes you can

No. You cannot. Some of the fields contain embedded commas.

Replies are listed 'Best First'.
Re^5: Is there any regex limitation?
by Anonymous Monk on Jul 24, 2011 at 18:54 UTC

    No. You cannot. Some of the fields contain embedded commas.

    I know, I didn't say its possible using /,/

      You said:

      Actually yes you can. Using split...

      I defy you to correctly parse the OPs two sample records using split only.

      And if you can't, which you won't, then you were talking shite.

        You said: Actually yes you can. Using split... I defy you to correctly parse the OPs two sample records using split only. And if you can't, which you won't, then you were talking shite.

        Text::xSV is implemented using regex as is Text::CSV_PP. split takes regex; so you're only one doing that.

      I know, I didn't say its possible using /,/

      Yes you did. That's precisely what you suggested and demonstrated doing in your reply to benlaw.

        I know, I didn't say its possible using /,/

        Yes you did. That's precisely what you suggested and demonstrated doing in your reply to benlaw.

        Except I did not. I know its a slow day, but that is no reason to inventinfer claims neither stated nor implied.