Parsing argument lists for functions

Using regex, I have written a parser for the function arg string.