move regular expressions out of .parse

no need to create the same regular expressions over and over again.