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

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

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

Replies are listed 'Best First'.
Re^6: Is there any regex limitation?
by BrowserUk (Patriarch) on Jul 24, 2011 at 21:47 UTC

    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 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 didn't. I win.

Re^6: Is there any regex limitation?
by Jim (Curate) on Jul 24, 2011 at 18:58 UTC
    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.

        Um, what you wrote is right there. It's on the World Wide Web. I didn't "infer" any claims.