Fix licenses
Remove unnecessary carets from the beginning of regexes. When using `re.match` the start of the string is assumed. This commit cherry-picks c81dd371b04519c51615aee972da58a295bca9df from ssh://github.inside.nicta.com.au/mfernandez/project.
Refactored parser init commit.