Started a function that matches lines to what function definitions
should look like. Regex sucks