Added ability to specify regex in the config.

I wanted to match on more things like a filename without a line number attached.  This change allows you specify the regex in the config.  It defaults to the current regex so there should be any behavior change unless explicity set in the config.