> foo > bar > names="charlie,john,ann" > ages='20,30,40' > > 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 ?
You don't want a regex. This format is called "CSV" for "Comma-separated values", and you want to have a module do it for you, preferably Text::CSV_XS. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

