Fixed error message when '#' wildcard isn't at the end of an address in config file.
Merge pull request #1168 from msve/invalid-match-msg

Fixed error message when '#' wildcard isn't at the end of an address