Improve error message for regular expression matchers

Signed-off-by: Seth Vargo <sethvargo@gmail.com>