I\'m trying to match type annotations from a string of parameters:
foo: string, bar:number, baz: Array
my initial pattern was w