Ok what I'm doing is sorting through a comma delimited file. Everything works fine except for one hitch. When I hit a double ",," it messes up badly. For example here are two lines from the file.
4326,"ellanddodgers",3,15.003
4329,"soloo",,18.761
and here is my regexp.
while ($userinfo = fscanf ($handle, "%[^\,],\"%[^\"\,]\",%[^\,],%[^\n]\n")){
The first line will parse correctly, but nothing after "soloo" would be parsed from the second line. Any suggestions on my regexp?