We are going to take what we learned in the previous section and expand it to csv files. We wish to identify every field in the previous csv file that matches a regular expression. These functions will require the
Text.CSV module (installed in the last chapter) and the
getColumnInCSV function that we wrote in the
In Chapter 2, Getting Our Feet Wet, we listed several assumptions that we would be making about csv files. We will now add a new assumption—csv files will have a unique identifier column somewhere in the file. A unique identifier column represents a column of identifiers (none duplicated) that represent the data for that row. In a relational database, this would ...