On May 9, 2007, at 12:54 PM, Simon R wrote: > OK... I've been toying with this for a day now and it's time to set > the > experts loose. I need to be able to split a string of the form
[...] > foo,bar,names="charlie,john,ann",ages='20,30,40' must be split to [...] > Can anyone come up with a single regexp that I can use in a call to > split() > that will handle this case, or another equally elegant solution ? Regular expressions are not well suited to that. You want Text::CSV or Text::CSV_XS. Charlton -- Charlton Wilbur [EMAIL PROTECTED] _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

