Prefer separate functions to a big switch-case
Prefer separate functions to a big switch-case

This should make testing the functions a bit easier and significantly reduces
our cyclomatic complexity.

eregs/regulations-parser,tadhg-ohiggins/regulations-parser,tadhg-ohiggins/regulations-parser,eregs/regulations-parser