Here I show how to take a data table (well, a set of conditions in a lisp cond statement) and turn it into C via BBEdit's find and replace.
If you look carefully at the regular expression I use, you'll actually see that it doesn't work for the last half of the cond statements. Here's a regular expression that does work, for the completionists of the bunch.
.+? \*density\*\W+(\d*\.\d+)\W+(\d+\.?\d+).+
(But thanks to YouTube I can't have my greater than sign where it belongs)