added ability to define a regex in configuration file.  Paths matching the regex will result in the command being called, non matching paths will be ignored