Matches using a custom regex.
Evaluates whether the given message matches the criteria defined by the implementing class.