added redirectmatch support
Merge pull request #521 from pablokbs/redirectmatch_support

added redirectmatch support