Removed $ from end of config parsing regex

This seems to be causing issues: including it means that lots of entries were
being missed, breaking execution.