update: Added Matches function for Task

* The Matches function determines whether a given regular expression
  matches the task this function is being run on
test: Added test for task.Matches

* Added a very simple test for task.Matches that just tests the basic
  funtionality